#2D3A0B#2D3A0B

#2D3A0B is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.070 H 123.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2D3A0B
RGBrgb(45, 58, 11)
HSLhsl(77, 68%, 14%)
HSVhsv(77, 81%, 23%)
CMYKcmyk(22.4%, 0%, 81%, 77.3%)
CIE-LABlab(22.33, -13.50, 26.01)
CIE-LCHlch(22.33, 29.31, 117.42°)
OKLaboklab(32.58% -0.0391 0.0585)
OKLCHoklch(32.58% 0.07 123.8)
XYZxyz(2.6557, 3.6081, 0.8731)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A0B #180B3A
analogous
#3A2F0B #2D3A0B #153A0B
triadic
#2D3A0B #0B2D3A #3A0B2D
tetradic
#2D3A0B #0B3A2F #180B3A #3A0B15
square
#2D3A0B #0B3A2F #180B3A #3A0B15
split-complementary
#2D3A0B #0B153A #2F0B3A
monochromatic
#141A05 #141A05 #2D3A0B #556D15 #7DA11F

Accessibility & contrast

On white

12.20
#2D3A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D3A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A0B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A0B#FFFFFF#000000##FFFFFF
##2D3A0B1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3605
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#303731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a0b;
/* rgb */ color: rgb(45, 58, 11);
/* oklch */ color: oklch(32.6% 0.070 123.8);
Tailwind
colors: {
  custom: {
    50: '#68704d',
    500: '#2d3a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a0b;
$custom-light: #68704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a0b",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 76.596,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32584,
    "c": 0.0704,
    "h": 123.8
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#2D3A0B
secondary
#3F2A77
accent
#3DEB6D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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