#2D390F#2D390F

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

Color values

HEX#2D390F
RGBrgb(45, 57, 15)
HSLhsl(77, 58%, 14%)
HSVhsv(77, 74%, 22%)
CMYKcmyk(21.1%, 0%, 73.7%, 77.6%)
CIE-LABlab(22.01, -12.58, 23.76)
CIE-LCHlch(22.01, 26.88, 117.90°)
OKLaboklab(32.34% -0.0362 0.0544)
OKLCHoklch(32.34% 0.065 123.6)
XYZxyz(2.6316, 3.5186, 0.9924)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D390F #1B0F39
analogous
#39300F #2D390F #18390F
triadic
#2D390F #0F2D39 #390F2D
tetradic
#2D390F #0F3930 #1B0F39 #390F18
square
#2D390F #0F3930 #1B0F39 #390F18
split-complementary
#2D390F #0F1839 #300F39
monochromatic
#131806 #131806 #2D390F #53691C #7A9A29

Accessibility & contrast

On white

12.33
#2D390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D390F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D390F#FFFFFF#000000##FFFFFF
##2D390F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350A
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#2F3630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d390f;
/* rgb */ color: rgb(45, 57, 15);
/* oklch */ color: oklch(32.3% 0.065 123.6);
Tailwind
colors: {
  custom: {
    50: '#676f4f',
    500: '#2d390f',
    950: '#000000',
  },
}
SCSS
$custom: #2d390f;
$custom-light: #676f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d390f",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 77.143,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.06531,
    "h": 123.6
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#2D390F
secondary
#443073
accent
#46E273
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D390F

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

Preview Lab → · Contrast checker → · Palette generator →

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