#2E380F#2E380F

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

Color values

HEX#2E380F
RGBrgb(46, 56, 15)
HSLhsl(75, 58%, 14%)
HSVhsv(75, 73%, 22%)
CMYKcmyk(17.9%, 0%, 73.2%, 78%)
CIE-LABlab(21.74, -11.50, 23.49)
CIE-LCHlch(21.74, 26.15, 116.07°)
OKLaboklab(32.14% -0.0332 0.0538)
OKLCHoklch(32.14% 0.063 121.7)
XYZxyz(2.6271, 3.4437, 0.9781)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E380F #190F38
analogous
#382E0F #2E380F #1A380F
triadic
#2E380F #0F2E38 #380F2E
tetradic
#2E380F #0F382E #190F38 #380F1A
square
#2E380F #0F382E #190F38 #380F1A
split-complementary
#2E380F #0F1A38 #2E0F38
monochromatic
#141806 #141806 #2E380F #56681C #7D9929

Accessibility & contrast

On white

12.43
#2E380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E380F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E380F#FFFFFF#000000##FFFFFF
##2E380F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340A
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#31352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e380f;
/* rgb */ color: rgb(46, 56, 15);
/* oklch */ color: oklch(32.1% 0.063 121.7);
Tailwind
colors: {
  custom: {
    50: '#686e4f',
    500: '#2e380f',
    950: '#000000',
  },
}
SCSS
$custom: #2e380f;
$custom-light: #686e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e380f",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 74.634,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3214,
    "c": 0.06322,
    "h": 121.7
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#2E380F
secondary
#413072
accent
#47E16C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E380F

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

Preview Lab → · Contrast checker → · Palette generator →

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