#2D370D#2D370D

#2D370D is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.064 H 121.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#2D370D
RGBrgb(45, 55, 13)
HSLhsl(74, 62%, 13%)
HSVhsv(74, 76%, 22%)
CMYKcmyk(18.2%, 0%, 76.4%, 78.4%)
CIE-LABlab(21.28, -11.57, 23.98)
CIE-LCHlch(21.28, 26.63, 115.77°)
OKLaboklab(31.74% -0.0336 0.0546)
OKLCHoklch(31.74% 0.064 121.6)
XYZxyz(2.5211, 3.3193, 0.8886)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D370D #170D37
analogous
#372C0D #2D370D #18370D
triadic
#2D370D #0D2D37 #370D2D
tetradic
#2D370D #0D372C #170D37 #370D18
square
#2D370D #0D372C #170D37 #370D18
split-complementary
#2D370D #0D1837 #2C0D37
monochromatic
#141906 #141906 #2D370D #556819 #7E9A24

Accessibility & contrast

On white

12.62
#2D370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D370D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D370D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D370D#FFFFFF#000000##FFFFFF
##2D370D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3308
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#30342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d370d;
/* rgb */ color: rgb(45, 55, 13);
/* oklch */ color: oklch(31.7% 0.064 121.6);
Tailwind
colors: {
  custom: {
    50: '#676d4e',
    500: '#2d370d',
    950: '#000000',
  },
}
SCSS
$custom: #2d370d;
$custom-light: #676d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d370d",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 74.286,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31741,
    "c": 0.06408,
    "h": 121.6
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#2D370D
secondary
#3E2D72
accent
#43E569
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D370D

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

Preview Lab → · Contrast checker → · Palette generator →

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