#2F481B#2F481B

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

Color values

HEX#2F481B
RGBrgb(47, 72, 27)
HSLhsl(93, 45%, 19%)
HSVhsv(93, 63%, 28%)
CMYKcmyk(34.7%, 0%, 62.5%, 71.8%)
CIE-LABlab(27.62, -18.76, 23.62)
CIE-LCHlch(27.62, 30.17, 128.46°)
OKLaboklab(36.96% -0.0522 0.0556)
OKLCHoklch(36.96% 0.076 133.2)
XYZxyz(3.6874, 5.3181, 1.8689)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F481B #341B48
analogous
#46481B #2F481B #1B481D
triadic
#2F481B #1B2F48 #481B2F
tetradic
#2F481B #1B4648 #341B48 #481D1B
square
#2F481B #1B4648 #341B48 #481D1B
split-complementary
#2F481B #1D1B48 #481B46
monochromatic
#0F1608 #121B0A #2F481B #4C752C #69A13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F481B#FFFFFF#000000##FFFFFF
##2F481B1.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)
#4B4217
Deuteranopia (green-blind)
#47411E
Tritanopia (blue-blind)
#2F453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f481b;
/* rgb */ color: rgb(47, 72, 27);
/* oklch */ color: oklch(37.0% 0.076 133.2);
Tailwind
colors: {
  custom: {
    50: '#697b59',
    500: '#2f481b',
    950: '#000000',
  },
}
SCSS
$custom: #2f481b;
$custom-light: #697b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f481b",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 93.333,
    "s": 45.455,
    "l": 19.412
  },
  "oklch": {
    "l": 0.36964,
    "c": 0.07626,
    "h": 133.2
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#2F481B
secondary
#63417E
accent
#53D59B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F481B

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

Preview Lab → · Contrast checker → · Palette generator →

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