#2D2F0B#2D2F0B

#2D2F0B is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.054 H 112.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#2D2F0B
RGBrgb(45, 47, 11)
HSLhsl(63, 62%, 11%)
HSVhsv(63, 77%, 18%)
CMYKcmyk(4.3%, 0%, 76.6%, 81.6%)
CIE-LABlab(18.43, -6.80, 21.66)
CIE-LCHlch(18.43, 22.70, 107.44°)
OKLaboklab(29.45% -0.0205 0.0501)
OKLCHoklch(29.45% 0.054 112.3)
XYZxyz(2.1592, 2.6151, 0.7076)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F0B #0D0B2F
analogous
#2F1F0B #2D2F0B #1B2F0B
triadic
#2D2F0B #0B2D2F #2F0B2D
tetradic
#2D2F0B #0B2F1F #0D0B2F #2F0B1B
square
#2D2F0B #0B2F1F #0D0B2F #2F0B1B
split-complementary
#2D2F0B #0B1B2F #1F0B2F
monochromatic
#181906 #181906 #2D2F0B #5C6117 #8C9222

Accessibility & contrast

On white

13.79
#2D2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F0B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F0B#FFFFFF#000000##FFFFFF
##2D2F0B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C07
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#312C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f0b;
/* rgb */ color: rgb(45, 47, 11);
/* oklch */ color: oklch(29.4% 0.054 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674c',
    500: '#2d2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f0b;
$custom-light: #67674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f0b",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 63.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29448,
    "c": 0.05411,
    "h": 112.3
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#2D2F0B
secondary
#2E2A6B
accent
#43E54C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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