#2F2D08#2F2D08

#2F2D08 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.054 H 106.3°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#2F2D08
RGBrgb(47, 45, 8)
HSLhsl(57, 71%, 11%)
HSVhsv(57, 83%, 18%)
CMYKcmyk(0%, 4.3%, 83%, 81.6%)
CIE-LABlab(17.91, -4.67, 22.32)
CIE-LCHlch(17.91, 22.81, 101.81°)
OKLaboklab(29.08% -0.0151 0.0517)
OKLCHoklch(29.08% 0.054 106.3)
XYZxyz(2.1546, 2.4987, 0.5985)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D08 #080A2F
analogous
#2F1908 #2F2D08 #1D2F08
triadic
#2F2D08 #082F2D #2D082F
tetradic
#2F2D08 #082F19 #080A2F #2F081D
square
#2F2D08 #082F19 #080A2F #2F081D
split-complementary
#2F2D08 #081D2F #19082F
monochromatic
#1A1904 #1A1904 #2F2D08 #635F11 #98911A

Accessibility & contrast

On white

14.00
#2F2D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D08
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D08#FFFFFF#000000##FFFFFF
##2F2D081.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B04
Deuteranopia (green-blind)
#322D0A
Tritanopia (blue-blind)
#332926
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d08;
/* rgb */ color: rgb(47, 45, 8);
/* oklch */ color: oklch(29.1% 0.054 106.3);
Tailwind
colors: {
  custom: {
    50: '#69654b',
    500: '#2f2d08',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d08;
$custom-light: #69654b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d08",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 56.923,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29075,
    "c": 0.0539,
    "h": 106.3
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#2F2D08
secondary
#25296E
accent
#43EE3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2D08

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

Preview Lab → · Contrast checker → · Palette generator →

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