#2D380A#2D380A

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

Color values

HEX#2D380A
RGBrgb(45, 56, 10)
HSLhsl(74, 70%, 13%)
HSVhsv(74, 82%, 22%)
CMYKcmyk(19.6%, 0%, 82.1%, 78%)
CIE-LABlab(21.61, -12.40, 25.66)
CIE-LCHlch(21.61, 28.50, 115.79°)
OKLaboklab(32% -0.0362 0.0578)
OKLCHoklch(32% 0.068 122.1)
XYZxyz(2.5512, 3.4081, 0.8105)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D380A #150A38
analogous
#382C0A #2D380A #16380A
triadic
#2D380A #0A2D38 #380A2D
tetradic
#2D380A #0A382C #150A38 #380A16
square
#2D380A #0A382C #150A38 #380A16
split-complementary
#2D380A #0A1638 #2C0A38
monochromatic
#151A05 #151A05 #2D380A #576C13 #80A01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D380A#FFFFFF#000000##FFFFFF
##2D380A1.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)
#3C3404
Deuteranopia (green-blind)
#3A340E
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d380a;
/* rgb */ color: rgb(45, 56, 10);
/* oklch */ color: oklch(32.0% 0.068 122.1);
Tailwind
colors: {
  custom: {
    50: '#686e4d',
    500: '#2d380a',
    950: '#000000',
  },
}
SCSS
$custom: #2d380a;
$custom-light: #686e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d380a",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 10
  },
  "hsl": {
    "h": 74.348,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31998,
    "c": 0.06819,
    "h": 122.1
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#2D380A
secondary
#3B2875
accent
#3BED66
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D380A

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

Preview Lab → · Contrast checker → · Palette generator →

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