#2F481A#2F481A

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

Color values

HEX#2F481A
RGBrgb(47, 72, 26)
HSLhsl(93, 47%, 19%)
HSVhsv(93, 64%, 28%)
CMYKcmyk(34.7%, 0%, 63.9%, 71.8%)
CIE-LABlab(27.61, -18.88, 24.16)
CIE-LCHlch(27.61, 30.66, 128.02°)
OKLaboklab(36.95% -0.0526 0.0567)
OKLCHoklch(36.95% 0.077 132.9)
XYZxyz(3.6760, 5.3135, 1.8090)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F481A #331A48
analogous
#46481A #2F481A #1A481C
triadic
#2F481A #1A2F48 #481A2F
tetradic
#2F481A #1A4648 #331A48 #481C1A
square
#2F481A #1A4648 #331A48 #481C1A
split-complementary
#2F481A #1C1A48 #481A46
monochromatic
#0F1608 #121B0A #2F481A #4C752A #6AA23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F481A#FFFFFF#000000##FFFFFF
##2F481A1.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)
#4B4215
Deuteranopia (green-blind)
#47401D
Tritanopia (blue-blind)
#2F453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f481a;
/* rgb */ color: rgb(47, 72, 26);
/* oklch */ color: oklch(37.0% 0.077 132.9);
Tailwind
colors: {
  custom: {
    50: '#697b58',
    500: '#2f481a',
    950: '#000000',
  },
}
SCSS
$custom: #2f481a;
$custom-light: #697b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f481a",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 92.609,
    "s": 46.939,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3695,
    "c": 0.07731,
    "h": 132.9
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#2F481A
secondary
#62407E
accent
#51D79A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F481A

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

Preview Lab → · Contrast checker → · Palette generator →

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