#2D380F#2D380F

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

Color values

HEX#2D380F
RGBrgb(45, 56, 15)
HSLhsl(76, 58%, 14%)
HSVhsv(76, 73%, 22%)
CMYKcmyk(19.6%, 0%, 73.2%, 78%)
CIE-LABlab(21.66, -11.99, 23.38)
CIE-LCHlch(21.66, 26.27, 117.15°)
OKLaboklab(32.05% -0.0345 0.0536)
OKLCHoklch(32.05% 0.064 122.8)
XYZxyz(2.5826, 3.4207, 0.9760)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D380F #1A0F38
analogous
#382F0F #2D380F #19380F
triadic
#2D380F #0F2D38 #380F2D
tetradic
#2D380F #0F382F #1A0F38 #380F19
square
#2D380F #0F382F #1A0F38 #380F19
split-complementary
#2D380F #0F1938 #2F0F38
monochromatic
#131806 #131806 #2D380F #54681C #7B9929

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D380F#FFFFFF#000000##FFFFFF
##2D380F1.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)
#3C340A
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d380f;
/* rgb */ color: rgb(45, 56, 15);
/* oklch */ color: oklch(32.1% 0.064 122.8);
Tailwind
colors: {
  custom: {
    50: '#676e4f',
    500: '#2d380f',
    950: '#000000',
  },
}
SCSS
$custom: #2d380f;
$custom-light: #676e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d380f",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 76.098,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32051,
    "c": 0.06373,
    "h": 122.8
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#2D380F
secondary
#423072
accent
#47E170
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D380F

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

Preview Lab → · Contrast checker → · Palette generator →

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