#2E380C#2E380C

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

Color values

HEX#2E380C
RGBrgb(46, 56, 12)
HSLhsl(74, 65%, 13%)
HSVhsv(74, 79%, 22%)
CMYKcmyk(17.9%, 0%, 78.6%, 78%)
CIE-LABlab(21.71, -11.75, 24.94)
CIE-LCHlch(21.71, 27.57, 115.23°)
OKLaboklab(32.11% -0.0343 0.0564)
OKLCHoklch(32.11% 0.066 121.3)
XYZxyz(2.6073, 3.4357, 0.8736)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E380C #160C38
analogous
#382C0C #2E380C #18380C
triadic
#2E380C #0C2E38 #380C2E
tetradic
#2E380C #0C382C #160C38 #380C18
square
#2E380C #0C382C #160C38 #380C18
split-complementary
#2E380C #0C1838 #2C0C38
monochromatic
#151905 #151905 #2E380C #576A17 #819D22

Accessibility & contrast

On white

12.45
#2E380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E380C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E380C#FFFFFF#000000##FFFFFF
##2E380C1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e380c;
/* rgb */ color: rgb(46, 56, 12);
/* oklch */ color: oklch(32.1% 0.066 121.3);
Tailwind
colors: {
  custom: {
    50: '#686e4e',
    500: '#2e380c',
    950: '#000000',
  },
}
SCSS
$custom: #2e380c;
$custom-light: #686e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e380c",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 73.636,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32107,
    "c": 0.06601,
    "h": 121.3
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#2E380C
secondary
#3C2C74
accent
#40E866
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E380C

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

Preview Lab → · Contrast checker → · Palette generator →

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