#2D3907#2D3907

#2D3907 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.072 H 122.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2D3907
RGBrgb(45, 57, 7)
HSLhsl(74, 78%, 13%)
HSVhsv(74, 88%, 22%)
CMYKcmyk(21.1%, 0%, 87.7%, 77.6%)
CIE-LABlab(21.94, -13.21, 27.24)
CIE-LCHlch(21.94, 30.28, 115.86°)
OKLaboklab(32.26% -0.0388 0.0608)
OKLCHoklch(32.26% 0.072 122.6)
XYZxyz(2.5837, 3.4995, 0.7403)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3907 #130739
analogous
#392C07 #2D3907 #143907
triadic
#2D3907 #072D39 #39072D
tetradic
#2D3907 #07392C #130739 #390714
square
#2D3907 #07392C #130739 #390714
split-complementary
#2D3907 #071439 #2C0739
monochromatic
#161B03 #161B03 #2D3907 #58700E #83A614

Accessibility & contrast

On white

12.35
#2D3907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3907
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3907#FFFFFF#000000##FFFFFF
##2D39071.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3501
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#303630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3907;
/* rgb */ color: rgb(45, 57, 7);
/* oklch */ color: oklch(32.3% 0.072 122.6);
Tailwind
colors: {
  custom: {
    50: '#686f4b',
    500: '#2d3907',
    950: '#000000',
  },
}
SCSS
$custom: #2d3907;
$custom-light: #686f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3907",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 74.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3226,
    "c": 0.07208,
    "h": 122.6
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#2D3907
secondary
#382379
accent
#33F562
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3907

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

Preview Lab → · Contrast checker → · Palette generator →

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