#2D3B0A#2D3B0A

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

Color values

HEX#2D3B0A
RGBrgb(45, 59, 10)
HSLhsl(77, 71%, 14%)
HSVhsv(77, 83%, 23%)
CMYKcmyk(23.7%, 0%, 83.1%, 76.9%)
CIE-LABlab(22.68, -14.15, 26.80)
CIE-LCHlch(22.68, 30.30, 117.83°)
OKLaboklab(32.86% -0.041 0.06)
OKLCHoklch(32.86% 0.073 124.4)
XYZxyz(2.7010, 3.7077, 0.8605)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B0A #180A3B
analogous
#3B300A #2D3B0A #143B0A
triadic
#2D3B0A #0A2D3B #3B0A2D
tetradic
#2D3B0A #0A3B30 #180A3B #3B0A14
square
#2D3B0A #0A3B30 #180A3B #3B0A14
split-complementary
#2D3B0A #0A143B #300A3B
monochromatic
#141A04 #141A04 #2D3B0A #556F13 #7DA41C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3B0A#FFFFFF#000000##FFFFFF
##2D3B0A1.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)
#3F3703
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#303831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3b0a;
/* rgb */ color: rgb(45, 59, 10);
/* oklch */ color: oklch(32.9% 0.073 124.4);
Tailwind
colors: {
  custom: {
    50: '#68714d',
    500: '#2d3b0a',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b0a;
$custom-light: #68714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b0a",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 10
  },
  "hsl": {
    "h": 77.143,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32864,
    "c": 0.07268,
    "h": 124.4
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#2D3B0A
secondary
#3F2878
accent
#3AEE6D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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