#2C2F08#2C2F08

#2C2F08 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.057 H 113.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#2C2F08
RGBrgb(44, 47, 8)
HSLhsl(65, 71%, 11%)
HSVhsv(65, 83%, 18%)
CMYKcmyk(6.4%, 0%, 83%, 81.6%)
CIE-LABlab(18.30, -7.58, 22.71)
CIE-LCHlch(18.30, 23.95, 108.45°)
OKLaboklab(29.31% -0.023 0.0525)
OKLCHoklch(29.31% 0.057 113.7)
XYZxyz(2.0991, 2.5861, 0.6183)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F08 #0B082F
analogous
#2F1E08 #2C2F08 #182F08
triadic
#2C2F08 #082C2F #2F082C
tetradic
#2C2F08 #082F1E #0B082F #2F0818
square
#2C2F08 #082F1E #0B082F #2F0818
split-complementary
#2C2F08 #08182F #1E082F
monochromatic
#181A04 #181A04 #2C2F08 #5D6311 #8E981A

Accessibility & contrast

On white

13.84
#2C2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2C2F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F08
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F08#FFFFFF#000000##FFFFFF
##2C2F081.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C04
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#302C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2f08;
/* rgb */ color: rgb(44, 47, 8);
/* oklch */ color: oklch(29.3% 0.057 113.7);
Tailwind
colors: {
  custom: {
    50: '#66674b',
    500: '#2c2f08',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f08;
$custom-light: #66674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f08",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 64.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29312,
    "c": 0.0573,
    "h": 113.7
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#2C2F08
secondary
#2B256E
accent
#3AEE48
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C2F08

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2C2F08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva