#2D380E#2D380E

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

Color values

HEX#2D380E
RGBrgb(45, 56, 14)
HSLhsl(76, 60%, 14%)
HSVhsv(76, 75%, 22%)
CMYKcmyk(19.6%, 0%, 75%, 78%)
CIE-LABlab(21.65, -12.08, 23.88)
CIE-LCHlch(21.65, 26.76, 116.83°)
OKLaboklab(32.04% -0.0349 0.0545)
OKLCHoklch(32.04% 0.065 122.6)
XYZxyz(2.5757, 3.4179, 0.9394)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D380E #190E38
analogous
#382E0E #2D380E #18380E
triadic
#2D380E #0E2D38 #380E2D
tetradic
#2D380E #0E382E #190E38 #380E18
square
#2D380E #0E382E #190E38 #380E18
split-complementary
#2D380E #0E1838 #2E0E38
monochromatic
#141806 #141806 #2D380E #54691A #7C9A26

Accessibility & contrast

On white

12.47
#2D380E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D380E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D380E#FFFFFF#000000##FFFFFF
##2D380E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d380e;
/* rgb */ color: rgb(45, 56, 14);
/* oklch */ color: oklch(32.0% 0.065 122.6);
Tailwind
colors: {
  custom: {
    50: '#676e4f',
    500: '#2d380e',
    950: '#000000',
  },
}
SCSS
$custom: #2d380e;
$custom-light: #676e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d380e",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 14
  },
  "hsl": {
    "h": 75.714,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32039,
    "c": 0.0647,
    "h": 122.6
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#2D380E
secondary
#412F73
accent
#45E36E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D380E

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

Preview Lab → · Contrast checker → · Palette generator →

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