#2D3B0C#2D3B0C

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

Color values

HEX#2D3B0C
RGBrgb(45, 59, 12)
HSLhsl(78, 66%, 14%)
HSVhsv(78, 80%, 23%)
CMYKcmyk(23.7%, 0%, 79.7%, 76.9%)
CIE-LABlab(22.70, -14.00, 25.95)
CIE-LCHlch(22.70, 29.49, 118.34°)
OKLaboklab(32.88% -0.0404 0.0585)
OKLCHoklch(32.88% 0.071 124.6)
XYZxyz(2.7125, 3.7123, 0.9214)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B0C #1A0C3B
analogous
#3B320C #2D3B0C #163B0C
triadic
#2D3B0C #0C2D3B #3B0C2D
tetradic
#2D3B0C #0C3B32 #1A0C3B #3B0C16
square
#2D3B0C #0C3B32 #1A0C3B #3B0C16
split-complementary
#2D3B0C #0C163B #320C3B
monochromatic
#131905 #131905 #2D3B0C #546E16 #7BA121

Accessibility & contrast

On white

12.05
#2D3B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3B0C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B0C#FFFFFF#000000##FFFFFF
##2D3B0C1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3705
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#2F3832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3b0c;
/* rgb */ color: rgb(45, 59, 12);
/* oklch */ color: oklch(32.9% 0.071 124.6);
Tailwind
colors: {
  custom: {
    50: '#68714e',
    500: '#2d3b0c',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b0c;
$custom-light: #68714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b0c",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 77.872,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32882,
    "c": 0.0711,
    "h": 124.6
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#2D3B0C
secondary
#422C77
accent
#3FE971
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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