#2F481D#2F481D

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

Color values

HEX#2F481D
RGBrgb(47, 72, 29)
HSLhsl(95, 43%, 20%)
HSVhsv(95, 60%, 28%)
CMYKcmyk(34.7%, 0%, 59.7%, 71.8%)
CIE-LABlab(27.65, -18.51, 22.53)
CIE-LCHlch(27.65, 29.16, 129.40°)
OKLaboklab(36.99% -0.0513 0.0535)
OKLCHoklch(36.99% 0.074 133.8)
XYZxyz(3.7114, 5.3276, 1.9950)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F481D #361D48
analogous
#44481D #2F481D #1D4821
triadic
#2F481D #1D2F48 #481D2F
tetradic
#2F481D #1D4448 #361D48 #48211D
square
#2F481D #1D4448 #361D48 #48211D
split-complementary
#2F481D #211D48 #481D44
monochromatic
#0E1609 #131C0B #2F481D #4B742F #689F40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F481D#FFFFFF#000000##FFFFFF
##2F481D1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f481d;
/* rgb */ color: rgb(47, 72, 29);
/* oklch */ color: oklch(37.0% 0.074 133.8);
Tailwind
colors: {
  custom: {
    50: '#697b5a',
    500: '#2f481d',
    950: '#000000',
  },
}
SCSS
$custom: #2f481d;
$custom-light: #697b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f481d",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 29
  },
  "hsl": {
    "h": 94.884,
    "s": 42.574,
    "l": 19.804
  },
  "oklch": {
    "l": 0.36994,
    "c": 0.07409,
    "h": 133.8
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#2F481D
secondary
#65447D
accent
#55D29E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F481D

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

Preview Lab → · Contrast checker → · Palette generator →

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