#2F481E#2F481E

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

Color values

HEX#2F481E
RGBrgb(47, 72, 30)
HSLhsl(96, 41%, 20%)
HSVhsv(96, 58%, 28%)
CMYKcmyk(34.7%, 0%, 58.3%, 71.8%)
CIE-LABlab(27.66, -18.38, 21.98)
CIE-LCHlch(27.66, 28.65, 129.90°)
OKLaboklab(37.01% -0.0508 0.0524)
OKLCHoklch(37.01% 0.073 134.2)
XYZxyz(3.7239, 5.3327, 2.0611)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F481E #371E48
analogous
#44481E #2F481E #1E4822
triadic
#2F481E #1E2F48 #481E2F
tetradic
#2F481E #1E4448 #371E48 #48221E
square
#2F481E #1E4448 #371E48 #48221E
split-complementary
#2F481E #221E48 #481E44
monochromatic
#0E1609 #131D0C #2F481E #4B7330 #679E42

Accessibility & contrast

On white

10.16
#2F481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F481E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F481E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F481E#FFFFFF#000000##FFFFFF
##2F481E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#474121
Tritanopia (blue-blind)
#2F453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f481e;
/* rgb */ color: rgb(47, 72, 30);
/* oklch */ color: oklch(37.0% 0.073 134.2);
Tailwind
colors: {
  custom: {
    50: '#697b5b',
    500: '#2f481e',
    950: '#000000',
  },
}
SCSS
$custom: #2f481e;
$custom-light: #697b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f481e",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 95.714,
    "s": 41.176,
    "l": 20
  },
  "oklch": {
    "l": 0.3701,
    "c": 0.07297,
    "h": 134.2
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#2F481E
secondary
#66457D
accent
#57D1A0
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F481E

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

Preview Lab → · Contrast checker → · Palette generator →

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