#2D380C#2D380C

#2D380C is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.067 H 122.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#2D380C
RGBrgb(45, 56, 12)
HSLhsl(75, 65%, 13%)
HSVhsv(75, 79%, 22%)
CMYKcmyk(19.6%, 0%, 78.6%, 78%)
CIE-LABlab(21.63, -12.25, 24.82)
CIE-LCHlch(21.63, 27.68, 116.27°)
OKLaboklab(32.02% -0.0356 0.0562)
OKLCHoklch(32.02% 0.067 122.4)
XYZxyz(2.5628, 3.4128, 0.8715)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D380C #170C38
analogous
#382D0C #2D380C #17380C
triadic
#2D380C #0C2D38 #380C2D
tetradic
#2D380C #0C382D #170C38 #380C17
square
#2D380C #0C382D #170C38 #380C17
split-complementary
#2D380C #0C1738 #2D0C38
monochromatic
#141905 #141905 #2D380C #556A17 #7E9D22

Accessibility & contrast

On white

12.48
#2D380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D380C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D380C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D380C#FFFFFF#000000##FFFFFF
##2D380C1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3406
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d380c;
/* rgb */ color: rgb(45, 56, 12);
/* oklch */ color: oklch(32.0% 0.067 122.4);
Tailwind
colors: {
  custom: {
    50: '#676e4e',
    500: '#2d380c',
    950: '#000000',
  },
}
SCSS
$custom: #2d380c;
$custom-light: #676e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d380c",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 75,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.06652,
    "h": 122.4
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#2D380C
secondary
#3E2C74
accent
#40E86A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D380C

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

Preview Lab → · Contrast checker → · Palette generator →

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