#2D370C#2D370C

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

Color values

HEX#2D370C
RGBrgb(45, 55, 12)
HSLhsl(74, 64%, 13%)
HSVhsv(74, 78%, 22%)
CMYKcmyk(18.2%, 0%, 78.2%, 78.4%)
CIE-LABlab(21.27, -11.66, 24.44)
CIE-LCHlch(21.27, 27.07, 115.50°)
OKLaboklab(31.73% -0.034 0.0554)
OKLCHoklch(31.73% 0.065 121.5)
XYZxyz(2.5148, 3.3168, 0.8555)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D370C #160C37
analogous
#372B0C #2D370C #17370C
triadic
#2D370C #0C2D37 #370C2D
tetradic
#2D370C #0C372B #160C37 #370C17
square
#2D370C #0C372B #160C37 #370C17
split-complementary
#2D370C #0C1737 #2B0C37
monochromatic
#151905 #151905 #2D370C #566917 #7F9B22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D370C#FFFFFF#000000##FFFFFF
##2D370C1.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)
#3B3306
Deuteranopia (green-blind)
#3A330F
Tritanopia (blue-blind)
#30342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d370c;
/* rgb */ color: rgb(45, 55, 12);
/* oklch */ color: oklch(31.7% 0.065 121.5);
Tailwind
colors: {
  custom: {
    50: '#676d4d',
    500: '#2d370c',
    950: '#000000',
  },
}
SCSS
$custom: #2d370c;
$custom-light: #676d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d370c",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 73.953,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31731,
    "c": 0.065,
    "h": 121.5
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#2D370C
secondary
#3C2C73
accent
#41E767
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D370C

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

Preview Lab → · Contrast checker → · Palette generator →

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