#2E480C#2E480C

#2E480C is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.090 H 130.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2E480C
RGBrgb(46, 72, 12)
HSLhsl(86, 71%, 16%)
HSVhsv(86, 83%, 28%)
CMYKcmyk(36.1%, 0%, 83.3%, 71.8%)
CIE-LABlab(27.41, -20.62, 30.66)
CIE-LCHlch(27.41, 36.95, 123.92°)
OKLaboklab(36.73% -0.0586 0.0683)
OKLCHoklch(36.73% 0.09 130.6)
XYZxyz(3.5104, 5.2420, 1.1746)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E480C #260C48
analogous
#48440C #2E480C #10480C
triadic
#2E480C #0C2E48 #480C2E
tetradic
#2E480C #0C4844 #260C48 #480C10
square
#2E480C #0C4844 #260C48 #480C10
split-complementary
#2E480C #0C1048 #440C48
monochromatic
#111A04 #111A04 #2E480C #507C15 #71B11D

Accessibility & contrast

On white

10.25
#2E480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E480C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E480C#FFFFFF#000000##FFFFFF
##2E480C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4202
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#2F453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e480c;
/* rgb */ color: rgb(46, 72, 12);
/* oklch */ color: oklch(36.7% 0.090 130.6);
Tailwind
colors: {
  custom: {
    50: '#6a7b50',
    500: '#2e480c',
    950: '#000000',
  },
}
SCSS
$custom: #2e480c;
$custom-light: #6a7b50;
$custom-dark: #000000;
JSON
{
  "hex": "#2e480c",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 86,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.08998,
    "h": 130.6
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#2E480C
secondary
#522C84
accent
#3AEE88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E480C

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

Preview Lab → · Contrast checker → · Palette generator →

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