#2E480F#2E480F

#2E480F is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.088 H 131.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2E480F
RGBrgb(46, 72, 15)
HSLhsl(87, 66%, 17%)
HSVhsv(87, 79%, 28%)
CMYKcmyk(36.1%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.44, -20.40, 29.42)
CIE-LCHlch(27.44, 35.80, 124.73°)
OKLaboklab(36.76% -0.0577 0.0663)
OKLCHoklch(36.76% 0.088 131)
XYZxyz(3.5303, 5.2499, 1.2792)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E480F #290F48
analogous
#48460F #2E480F #12480F
triadic
#2E480F #0F2E48 #480F2E
tetradic
#2E480F #0F4846 #290F48 #480F12
square
#2E480F #0F4846 #290F48 #480F12
split-complementary
#2E480F #0F1248 #460F48
monochromatic
#101905 #101905 #2E480F #4E7B1A #6FAD24

Accessibility & contrast

On white

10.24
#2E480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E480F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E480F#FFFFFF#000000##FFFFFF
##2E480F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e480f;
/* rgb */ color: rgb(46, 72, 15);
/* oklch */ color: oklch(36.8% 0.088 131.0);
Tailwind
colors: {
  custom: {
    50: '#697b51',
    500: '#2e480f',
    950: '#000000',
  },
}
SCSS
$custom: #2e480f;
$custom-light: #697b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e480f",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 87.368,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36756,
    "c": 0.08785,
    "h": 131
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#2E480F
secondary
#563082
accent
#3FE88C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E480F

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

Preview Lab → · Contrast checker → · Palette generator →

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