#2D390C#2D390C

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

Color values

HEX#2D390C
RGBrgb(45, 57, 12)
HSLhsl(76, 65%, 14%)
HSVhsv(76, 79%, 22%)
CMYKcmyk(21.1%, 0%, 78.9%, 77.6%)
CIE-LABlab(21.98, -12.84, 25.20)
CIE-LCHlch(21.98, 28.29, 117.00°)
OKLaboklab(32.31% -0.0372 0.057)
OKLCHoklch(32.31% 0.068 123.2)
XYZxyz(2.6117, 3.5107, 0.8878)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D390C #180C39
analogous
#392E0C #2D390C #16390C
triadic
#2D390C #0C2D39 #390C2D
tetradic
#2D390C #0C392E #180C39 #390C16
square
#2D390C #0C392E #180C39 #390C16
split-complementary
#2D390C #0C1639 #2E0C39
monochromatic
#141905 #141905 #2D390C #556C17 #7D9E21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D390C#FFFFFF#000000##FFFFFF
##2D390C1.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)
#3D3506
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#303630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d390c;
/* rgb */ color: rgb(45, 57, 12);
/* oklch */ color: oklch(32.3% 0.068 123.2);
Tailwind
colors: {
  custom: {
    50: '#686f4e',
    500: '#2d390c',
    950: '#000000',
  },
}
SCSS
$custom: #2d390c;
$custom-light: #686f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d390c",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 76,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.06804,
    "h": 123.2
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#2D390C
secondary
#3F2C75
accent
#40E86D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D390C

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

Preview Lab → · Contrast checker → · Palette generator →

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