#2F481F#2F481F

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

Color values

HEX#2F481F
RGBrgb(47, 72, 31)
HSLhsl(97, 40%, 20%)
HSVhsv(97, 57%, 28%)
CMYKcmyk(34.7%, 0%, 56.9%, 71.8%)
CIE-LABlab(27.68, -18.24, 21.42)
CIE-LCHlch(27.68, 28.14, 130.42°)
OKLaboklab(37.03% -0.0504 0.0512)
OKLCHoklch(37.03% 0.072 134.5)
XYZxyz(3.7369, 5.3379, 2.1295)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F481F #381F48
analogous
#44481F #2F481F #1F4823
triadic
#2F481F #1F2F48 #481F2F
tetradic
#2F481F #1F4448 #381F48 #48231F
square
#2F481F #1F4448 #381F48 #48231F
split-complementary
#2F481F #231F48 #481F44
monochromatic
#0E1509 #131D0D #2F481F #4B7331 #679E44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F481F#FFFFFF#000000##FFFFFF
##2F481F1.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)
#4B431B
Deuteranopia (green-blind)
#474122
Tritanopia (blue-blind)
#2F453F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f481f;
/* rgb */ color: rgb(47, 72, 31);
/* oklch */ color: oklch(37.0% 0.072 134.5);
Tailwind
colors: {
  custom: {
    50: '#697b5c',
    500: '#2f481f',
    950: '#000000',
  },
}
SCSS
$custom: #2f481f;
$custom-light: #697b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f481f",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 96.585,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.37026,
    "c": 0.07184,
    "h": 134.5
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#2F481F
secondary
#67467D
accent
#58D0A1
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F481F

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

Preview Lab → · Contrast checker → · Palette generator →

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