#2D380D#2D380D

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

Color values

HEX#2D380D
RGBrgb(45, 56, 13)
HSLhsl(75, 62%, 14%)
HSVhsv(75, 77%, 22%)
CMYKcmyk(19.6%, 0%, 76.8%, 78%)
CIE-LABlab(21.64, -12.17, 24.36)
CIE-LCHlch(21.64, 27.23, 116.54°)
OKLaboklab(32.03% -0.0353 0.0554)
OKLCHoklch(32.03% 0.066 122.5)
XYZxyz(2.5690, 3.4153, 0.9046)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D380D #180D38
analogous
#382D0D #2D380D #17380D
triadic
#2D380D #0D2D38 #380D2D
tetradic
#2D380D #0D382D #180D38 #380D17
square
#2D380D #0D382D #180D38 #380D17
split-complementary
#2D380D #0D1738 #2D0D38
monochromatic
#141906 #141906 #2D380D #556A19 #7D9B24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D380D#FFFFFF#000000##FFFFFF
##2D380D1.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)
#3C3407
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d380d;
/* rgb */ color: rgb(45, 56, 13);
/* oklch */ color: oklch(32.0% 0.066 122.5);
Tailwind
colors: {
  custom: {
    50: '#676e4e',
    500: '#2d380d',
    950: '#000000',
  },
}
SCSS
$custom: #2d380d;
$custom-light: #676e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d380d",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 13
  },
  "hsl": {
    "h": 75.349,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32028,
    "c": 0.06563,
    "h": 122.5
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#2D380D
secondary
#3F2D73
accent
#42E56C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D380D

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

Preview Lab → · Contrast checker → · Palette generator →

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