#2F480F#2F480F

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

Color values

HEX#2F480F
RGBrgb(47, 72, 15)
HSLhsl(86, 66%, 17%)
HSVhsv(86, 79%, 28%)
CMYKcmyk(34.7%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.50, -19.96, 29.51)
CIE-LCHlch(27.50, 35.63, 124.07°)
OKLaboklab(36.83% -0.0566 0.0664)
OKLCHoklch(36.83% 0.087 130.4)
XYZxyz(3.5759, 5.2734, 1.2813)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F480F #280F48
analogous
#48450F #2F480F #13480F
triadic
#2F480F #0F2F48 #480F2F
tetradic
#2F480F #0F4845 #280F48 #480F13
square
#2F480F #0F4845 #280F48 #480F13
split-complementary
#2F480F #0F1348 #450F48
monochromatic
#111905 #111905 #2F480F #507B1A #71AD24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F480F#FFFFFF#000000##FFFFFF
##2F480F1.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)
#4C4206
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#30453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f480f;
/* rgb */ color: rgb(47, 72, 15);
/* oklch */ color: oklch(36.8% 0.087 130.4);
Tailwind
colors: {
  custom: {
    50: '#6a7b51',
    500: '#2f480f',
    950: '#000000',
  },
}
SCSS
$custom: #2f480f;
$custom-light: #6a7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f480f",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 86.316,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.08724,
    "h": 130.4
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#2F480F
secondary
#543082
accent
#3FE88A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F480F

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

Preview Lab → · Contrast checker → · Palette generator →

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