#2D3902#2D3902

#2D3902 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.076 H 122.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2D3902
RGBrgb(45, 57, 2)
HSLhsl(73, 93%, 12%)
HSVhsv(73, 96%, 22%)
CMYKcmyk(21.1%, 0%, 96.5%, 77.6%)
CIE-LABlab(21.90, -13.57, 29.24)
CIE-LCHlch(21.90, 32.23, 114.90°)
OKLaboklab(32.21% -0.0404 0.0646)
OKLCHoklch(32.21% 0.076 122)
XYZxyz(2.5563, 3.4885, 0.5961)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3902 #0E0239
analogous
#392A02 #2D3902 #123902
triadic
#2D3902 #022D39 #39022D
tetradic
#2D3902 #02392A #0E0239 #390212
square
#2D3902 #02392A #0E0239 #390212
split-complementary
#2D3902 #021239 #2A0239
monochromatic
#171E01 #171E01 #2D3902 #5C7404 #8AAF06

Accessibility & contrast

On white

12.37
#2D3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3902
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3902#FFFFFF#000000##FFFFFF
##2D39021.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3407
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3902;
/* rgb */ color: rgb(45, 57, 2);
/* oklch */ color: oklch(32.2% 0.076 122.0);
Tailwind
colors: {
  custom: {
    50: '#686f49',
    500: '#2d3902',
    950: '#000000',
  },
}
SCSS
$custom: #2d3902;
$custom-light: #686f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3902",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 73.091,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32215,
    "c": 0.07622,
    "h": 122
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#2D3902
secondary
#301A7D
accent
#29FF58
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3902

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

Preview Lab → · Contrast checker → · Palette generator →

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