#2D370F#2D370F

#2D370F is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.8% C 0.062 H 121.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2D370F
RGBrgb(45, 55, 15)
HSLhsl(75, 57%, 14%)
HSVhsv(75, 73%, 22%)
CMYKcmyk(18.2%, 0%, 72.7%, 78.4%)
CIE-LABlab(21.30, -11.40, 22.99)
CIE-LCHlch(21.30, 25.66, 116.37°)
OKLaboklab(31.76% -0.0329 0.0528)
OKLCHoklch(31.76% 0.062 121.9)
XYZxyz(2.5346, 3.3248, 0.9601)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D370F #190F37
analogous
#372D0F #2D370F #19370F
triadic
#2D370F #0F2D37 #370F2D
tetradic
#2D370F #0F372D #190F37 #370F19
square
#2D370F #0F372D #190F37 #370F19
split-complementary
#2D370F #0F1937 #2D0F37
monochromatic
#141807 #141807 #2D370F #54671C #7C9729

Accessibility & contrast

On white

12.61
#2D370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D370F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D370F#FFFFFF#000000##FFFFFF
##2D370F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B330A
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#30342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d370f;
/* rgb */ color: rgb(45, 55, 15);
/* oklch */ color: oklch(31.8% 0.062 121.9);
Tailwind
colors: {
  custom: {
    50: '#676d4f',
    500: '#2d370f',
    950: '#000000',
  },
}
SCSS
$custom: #2d370f;
$custom-light: #676d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d370f",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 75,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31764,
    "c": 0.06215,
    "h": 121.9
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#2D370F
secondary
#413171
accent
#47E06E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D370F

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

Preview Lab → · Contrast checker → · Palette generator →

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