#2D390B#2D390B

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

Color values

HEX#2D390B
RGBrgb(45, 57, 11)
HSLhsl(76, 68%, 13%)
HSVhsv(76, 81%, 22%)
CMYKcmyk(21.1%, 0%, 80.7%, 77.6%)
CIE-LABlab(21.97, -12.92, 25.64)
CIE-LCHlch(21.97, 28.71, 116.74°)
OKLaboklab(32.3% -0.0375 0.0578)
OKLCHoklch(32.3% 0.069 123)
XYZxyz(2.6057, 3.5083, 0.8564)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D390B #170B39
analogous
#392E0B #2D390B #16390B
triadic
#2D390B #0B2D39 #390B2D
tetradic
#2D390B #0B392E #170B39 #390B16
square
#2D390B #0B392E #170B39 #390B16
split-complementary
#2D390B #0B1639 #2E0B39
monochromatic
#141A05 #141A05 #2D390B #556C15 #7EA01F

Accessibility & contrast

On white

12.34
#2D390B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D390B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D390B#FFFFFF#000000##FFFFFF
##2D390B1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d390b;
/* rgb */ color: rgb(45, 57, 11);
/* oklch */ color: oklch(32.3% 0.069 123.0);
Tailwind
colors: {
  custom: {
    50: '#686f4d',
    500: '#2d390b',
    950: '#000000',
  },
}
SCSS
$custom: #2d390b;
$custom-light: #686f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d390b",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 11
  },
  "hsl": {
    "h": 75.652,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.06888,
    "h": 123
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#2D390B
secondary
#3E2A76
accent
#3DEB6A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D390B

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

Preview Lab → · Contrast checker → · Palette generator →

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