#2F481C#2F481C

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

Color values

HEX#2F481C
RGBrgb(47, 72, 28)
HSLhsl(94, 44%, 20%)
HSVhsv(94, 61%, 28%)
CMYKcmyk(34.7%, 0%, 61.1%, 71.8%)
CIE-LABlab(27.64, -18.64, 23.08)
CIE-LCHlch(27.64, 29.67, 128.93°)
OKLaboklab(36.98% -0.0517 0.0546)
OKLCHoklch(36.98% 0.075 133.5)
XYZxyz(3.6992, 5.3228, 1.9309)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F481C #351C48
analogous
#45481C #2F481C #1C481F
triadic
#2F481C #1C2F48 #481C2F
tetradic
#2F481C #1C4548 #351C48 #481F1C
square
#2F481C #1C4548 #351C48 #481F1C
split-complementary
#2F481C #1F1C48 #481C45
monochromatic
#0E1609 #121C0B #2F481C #4C742D #69A03E

Accessibility & contrast

On white

10.17
#2F481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F481C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F481C#FFFFFF#000000##FFFFFF
##2F481C1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4318
Deuteranopia (green-blind)
#47411F
Tritanopia (blue-blind)
#2F453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f481c;
/* rgb */ color: rgb(47, 72, 28);
/* oklch */ color: oklch(37.0% 0.075 133.5);
Tailwind
colors: {
  custom: {
    50: '#697b5a',
    500: '#2f481c',
    950: '#000000',
  },
}
SCSS
$custom: #2f481c;
$custom-light: #697b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f481c",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 94.091,
    "s": 44,
    "l": 19.608
  },
  "oklch": {
    "l": 0.36979,
    "c": 0.07518,
    "h": 133.5
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#2F481C
secondary
#64427D
accent
#54D49D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F481C

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

Preview Lab → · Contrast checker → · Palette generator →

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