#2D380B#2D380B

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

Color values

HEX#2D380B
RGBrgb(45, 56, 11)
HSLhsl(75, 67%, 13%)
HSVhsv(75, 80%, 22%)
CMYKcmyk(19.6%, 0%, 80.4%, 78%)
CIE-LABlab(21.62, -12.33, 25.26)
CIE-LCHlch(21.62, 28.10, 116.02°)
OKLaboklab(32.01% -0.0359 0.057)
OKLCHoklch(32.01% 0.067 122.2)
XYZxyz(2.5568, 3.4104, 0.8401)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D380B #160B38
analogous
#382C0B #2D380B #16380B
triadic
#2D380B #0B2D38 #380B2D
tetradic
#2D380B #0B382C #160B38 #380B16
square
#2D380B #0B382C #160B38 #380B16
split-complementary
#2D380B #0B1638 #2C0B38
monochromatic
#151A05 #151A05 #2D380B #566B15 #7F9E1F

Accessibility & contrast

On white

12.49
#2D380B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D380B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D380B#FFFFFF#000000##FFFFFF
##2D380B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d380b;
/* rgb */ color: rgb(45, 56, 11);
/* oklch */ color: oklch(32.0% 0.067 122.2);
Tailwind
colors: {
  custom: {
    50: '#686e4d',
    500: '#2d380b',
    950: '#000000',
  },
}
SCSS
$custom: #2d380b;
$custom-light: #686e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d380b",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 74.667,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.06737,
    "h": 122.2
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#2D380B
secondary
#3C2A75
accent
#3EEA68
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D380B

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

Preview Lab → · Contrast checker → · Palette generator →

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