#2E481F#2E481F

#2E481F is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.0% C 0.072 H 135.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2E481F
RGBrgb(46, 72, 31)
HSLhsl(98, 40%, 20%)
HSVhsv(98, 57%, 28%)
CMYKcmyk(36.1%, 0%, 56.9%, 71.8%)
CIE-LABlab(27.61, -18.66, 21.33)
CIE-LCHlch(27.61, 28.34, 131.19°)
OKLaboklab(36.96% -0.0515 0.051)
OKLCHoklch(36.96% 0.072 135.3)
XYZxyz(3.6913, 5.3144, 2.1273)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E481F #391F48
analogous
#42481F #2E481F #1F4824
triadic
#2E481F #1F2E48 #481F2E
tetradic
#2E481F #1F4248 #391F48 #48241F
square
#2E481F #1F4248 #391F48 #48241F
split-complementary
#2E481F #241F48 #481F42
monochromatic
#0E1509 #131D0D #2E481F #497331 #659E44

Accessibility & contrast

On white

10.18
#2E481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E481F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E481F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E481F#FFFFFF#000000##FFFFFF
##2E481F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#474022
Tritanopia (blue-blind)
#2E453F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e481f;
/* rgb */ color: rgb(46, 72, 31);
/* oklch */ color: oklch(37.0% 0.072 135.3);
Tailwind
colors: {
  custom: {
    50: '#687b5c',
    500: '#2e481f',
    950: '#000000',
  },
}
SCSS
$custom: #2e481f;
$custom-light: #687b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e481f",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 98.049,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36957,
    "c": 0.07247,
    "h": 135.3
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#2E481F
secondary
#69467D
accent
#58D0A4
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2E481F

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

Preview Lab → · Contrast checker → · Palette generator →

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