#2D370B#2D370B

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

Color values

HEX#2D370B
RGBrgb(45, 55, 11)
HSLhsl(74, 67%, 13%)
HSVhsv(74, 80%, 22%)
CMYKcmyk(18.2%, 0%, 80%, 78.4%)
CIE-LABlab(21.26, -11.74, 24.87)
CIE-LCHlch(21.26, 27.50, 115.27°)
OKLaboklab(31.72% -0.0343 0.0562)
OKLCHoklch(31.72% 0.066 121.4)
XYZxyz(2.5088, 3.3144, 0.8241)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D370B #150B37
analogous
#372B0B #2D370B #17370B
triadic
#2D370B #0B2D37 #370B2D
tetradic
#2D370B #0B372B #150B37 #370B17
square
#2D370B #0B372B #150B37 #370B17
split-complementary
#2D370B #0B1737 #2B0B37
monochromatic
#151A05 #151A05 #2D370B #576A15 #809D1F

Accessibility & contrast

On white

12.63
#2D370B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D370B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D370B#FFFFFF#000000##FFFFFF
##2D370B1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d370b;
/* rgb */ color: rgb(45, 55, 11);
/* oklch */ color: oklch(31.7% 0.066 121.4);
Tailwind
colors: {
  custom: {
    50: '#676d4d',
    500: '#2d370b',
    950: '#000000',
  },
}
SCSS
$custom: #2d370b;
$custom-light: #676d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d370b",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 73.636,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.06586,
    "h": 121.4
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#2D370B
secondary
#3B2A74
accent
#3EEA65
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D370B

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

Preview Lab → · Contrast checker → · Palette generator →

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