#2F470D#2F470D

#2F470D is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.087 H 129.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2F470D
RGBrgb(47, 71, 13)
HSLhsl(85, 69%, 16%)
HSVhsv(85, 82%, 28%)
CMYKcmyk(33.8%, 0%, 81.7%, 72.2%)
CIE-LABlab(27.13, -19.58, 30.00)
CIE-LCHlch(27.13, 35.82, 123.14°)
OKLaboklab(36.52% -0.0557 0.0671)
OKLCHoklch(36.52% 0.087 129.7)
XYZxyz(3.4982, 5.1398, 1.1885)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F470D #250D47
analogous
#47420D #2F470D #12470D
triadic
#2F470D #0D2F47 #470D2F
tetradic
#2F470D #0D4742 #250D47 #470D12
square
#2F470D #0D4742 #250D47 #470D12
split-complementary
#2F470D #0D1247 #420D47
monochromatic
#111A05 #111A05 #2F470D #517B16 #73AE20

Accessibility & contrast

On white

10.36
#2F470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F470D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F470D#FFFFFF#000000##FFFFFF
##2F470D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4104
Deuteranopia (green-blind)
#474012
Tritanopia (blue-blind)
#31443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f470d;
/* rgb */ color: rgb(47, 71, 13);
/* oklch */ color: oklch(36.5% 0.087 129.7);
Tailwind
colors: {
  custom: {
    50: '#6a7a50',
    500: '#2f470d',
    950: '#000000',
  },
}
SCSS
$custom: #2f470d;
$custom-light: #6a7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2f470d",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 84.828,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.08722,
    "h": 129.7
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#2F470D
secondary
#512D82
accent
#3CEC85
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F470D

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

Preview Lab → · Contrast checker → · Palette generator →

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