#2F480E#2F480E

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

Color values

HEX#2F480E
RGBrgb(47, 72, 14)
HSLhsl(86, 67%, 17%)
HSVhsv(86, 81%, 28%)
CMYKcmyk(34.7%, 0%, 80.6%, 71.8%)
CIE-LABlab(27.49, -20.04, 29.93)
CIE-LCHlch(27.49, 36.02, 123.80°)
OKLaboklab(36.82% -0.0569 0.0671)
OKLCHoklch(36.82% 0.088 130.3)
XYZxyz(3.5689, 5.2707, 1.2447)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F480E #270E48
analogous
#48440E #2F480E #12480E
triadic
#2F480E #0E2F48 #480E2F
tetradic
#2F480E #0E4844 #270E48 #480E12
square
#2F480E #0E4844 #270E48 #480E12
split-complementary
#2F480E #0E1248 #440E48
monochromatic
#111A05 #111A05 #2F480E #507B18 #72AE22

Accessibility & contrast

On white

10.22
#2F480E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F480E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F480E#FFFFFF#000000##FFFFFF
##2F480E1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4205
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#30453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f480e;
/* rgb */ color: rgb(47, 72, 14);
/* oklch */ color: oklch(36.8% 0.088 130.3);
Tailwind
colors: {
  custom: {
    50: '#6a7b51',
    500: '#2f480e',
    950: '#000000',
  },
}
SCSS
$custom: #2f480e;
$custom-light: #6a7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f480e",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 14
  },
  "hsl": {
    "h": 85.862,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.08799,
    "h": 130.3
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#2F480E
secondary
#532F83
accent
#3DEA88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F480E

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

Preview Lab → · Contrast checker → · Palette generator →

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