#2D3B0B#2D3B0B

#2D3B0B is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.072 H 124.5°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2D3B0B
RGBrgb(45, 59, 11)
HSLhsl(78, 69%, 14%)
HSVhsv(78, 81%, 23%)
CMYKcmyk(23.7%, 0%, 81.4%, 76.9%)
CIE-LABlab(22.69, -14.08, 26.39)
CIE-LCHlch(22.69, 29.91, 118.08°)
OKLaboklab(32.87% -0.0407 0.0593)
OKLCHoklch(32.87% 0.072 124.5)
XYZxyz(2.7066, 3.7100, 0.8900)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B0B #190B3B
analogous
#3B310B #2D3B0B #153B0B
triadic
#2D3B0B #0B2D3B #3B0B2D
tetradic
#2D3B0B #0B3B31 #190B3B #3B0B15
square
#2D3B0B #0B3B31 #190B3B #3B0B15
split-complementary
#2D3B0B #0B153B #310B3B
monochromatic
#141A05 #141A05 #2D3B0B #546F15 #7CA21E

Accessibility & contrast

On white

12.06
#2D3B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D3B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B0B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B0B#FFFFFF#000000##FFFFFF
##2D3B0B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3704
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#303832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3b0b;
/* rgb */ color: rgb(45, 59, 11);
/* oklch */ color: oklch(32.9% 0.072 124.5);
Tailwind
colors: {
  custom: {
    50: '#68714d',
    500: '#2d3b0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b0b;
$custom-light: #68714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b0b",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 77.5,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.07191,
    "h": 124.5
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#2D3B0B
secondary
#412A78
accent
#3CEB6F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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