Skip to content

#2c2f08

a deep, vivid yellow · warm · closest name: Black

RGB
44, 47, 8
HSL
65°, 71%, 11%
CMYK
6, 0, 83, 82
Luminance
0.0259

At a glance

Every number on this page in one read: what #2c2f08 is made of, how bright it looks, and which way it leans.

Hex
#2c2f08
Hue
65°
yellow
Saturation
71%
vivid
Lightness
11%
deep
Brightness
18%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0259
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
13.84:1
Closest name
Black
ΔE2000 19.7
Where it sits
Hue65° of 360°
Saturation71%
Lightness11%
Temperature
Warm ← → Cool29% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2c2f08
RGBrgb(44, 47, 8)
HSLhsl(65, 71%, 11%)
CMYKcmyk(6%, 0%, 83%, 82%)
LABlab(18.3 -7.6 22.7)
LCHlch(18.3 23.9 108.5)
OKLCHoklch(0.293 0.057 113.7)
Decimal2895624
Display P3color(display-p3 0.173 0.184 0.031)

Copy-ready code

/* CSS */
color: #2c2f08;
background-color: #2c2f08;
/* Tailwind (arbitrary) */
class="text-[#2c2f08] bg-[#2c2f08]"
/* SCSS */
$brand: #2c2f08;
/* SwiftUI */
Color(red: 0.173, green: 0.184, blue: 0.031)
/* Android */
Color.parseColor("#2c2f08")
/* Flutter */
Color(0xFF2C2F08)
/* Python / OpenCV (BGR) */
(8, 47, 44)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #2c2f08 · 13.84:1
Use #ffffffAAA at every size.
Aa
White text · 13.84:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.52:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2c2f08 as text scores 13.84:1 on white and 1.52:1 on black.

Accessibility — WCAG contrast

Aa
#2c2f08 on white: 13.84:1
AA ✓ pass · AA-large · AAA
Aa
#2c2f08 on black: 1.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #332C04
deuteranopia · #332D0B
tritanopia · #302C27

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2c2f08 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFCF3
#F7F8E7
#EFF3C9
#E9EF9F
#DDE76F
#D2DE3F
#C4D124
#A3AE1E
#838B18
#5F6515
#2c2f08
Base = 950Lightest = 50 · #FBFCF3Darkest = 950 · #2c2f08
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F7F8E7;
  --brand-200: #EFF3C9;
  --brand-300: #E9EF9F;
  --brand-400: #DDE76F;
  --brand-500: #D2DE3F;
  --brand-600: #C4D124;
  --brand-700: #A3AE1E;
  --brand-800: #838B18;
  --brand-900: #5F6515;
  --brand-950: #2c2f08;
  --brand: #2c2f08;
  --brand-ink: #ffffff;
}

Colors that work with #2c2f08

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAFAF4
Tinted page background
Border#E9EDC0
Hairlines and dividers
Muted text#959B4B
Captions on the surface
Accent#070E30
Second voice, not a rival
Dark variant#666D13
Hover, pressed, headers
Light variant#FAFBE9
Selected rows, tints
Dark surface#232414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #2c2f08

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#0B082F
Analogous left#2F1F08
Analogous right#192F08
Split-complement 1#08192F
Split-complement 2#1F082F
Triadic 1#082C2F
Triadic 2#2F082C
Tetradic#082F1F

RGB percentages

Red17.3%
Green18.4%
Blue3.1%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow83.0%
Key (black)81.6%

Color previews

#2c2f08 text on a black background

contrast 1.52:1

Card sample

#2c2f08 text on a white background

contrast 13.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2c2f08;
Background color
Panel with #2c2f08 background
background-color: #2c2f08;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2c2f08;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(44, 47, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 47, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c2f08;
background: linear-gradient(135deg, #2c2f08, #122F08);

Monochromatic scale

Palettes built from #2c2f08

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#2c2f08 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#2c2f08, answered

What color is #2c2f08?

#2c2f08 is a deep vivid yellow, closest to Black (ΔE2000 19.7). It sits at 65° on the hue wheel with 71% saturation and 11% lightness, which reads as warm.

What is the RGB value of #2c2f08?

rgb(44, 47, 8) — 44 red, 47 green and 8 blue out of 255, or 17.3% / 18.4% / 3.1% by channel.

Is #2c2f08 a light or a dark color?

It is a dark color. Relative luminance is 0.0259 and perceived brightness is 17%, so white text on it reaches 13.84:1.

Should I use black or white text on #2c2f08?

White. It scores 13.84:1 against #2c2f08, versus 1.52:1 for black — AAA at any size.

What is the complementary color of #2c2f08?

#0B082F sits directly opposite on the wheel. Softer options are the split-complements #08192F and #1F082F, which give the same contrast with far less vibration.

What colors go well with #2c2f08?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #959B4B for secondary text, #070E30 as an accent and #666D13 for hover and pressed states. For a palette, the analogous pair #2F1F08 and #192F08 stays calm, while #0B082F is the loudest partner.

What is #2c2f08 in CMYK for printing?

cmyk(6%, 0%, 83%, 82%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2c2f08 warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2F2408; nudged cooler, #1E3007.

Work with #2c2f08 in the Color Lab