#2F470A#2F470A

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

Color values

HEX#2F470A
RGBrgb(47, 71, 10)
HSLhsl(84, 75%, 16%)
HSVhsv(84, 86%, 28%)
CMYKcmyk(33.8%, 0%, 85.9%, 72.2%)
CIE-LABlab(27.11, -19.78, 31.16)
CIE-LCHlch(27.11, 36.91, 122.41°)
OKLaboklab(36.5% -0.0565 0.069)
OKLCHoklch(36.5% 0.089 129.3)
XYZxyz(3.4803, 5.1326, 1.0944)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F470A #220A47
analogous
#47400A #2F470A #10470A
triadic
#2F470A #0A2F47 #470A2F
tetradic
#2F470A #0A4740 #220A47 #470A10
square
#2F470A #0A4740 #220A47 #470A10
split-complementary
#2F470A #0A1047 #400A47
monochromatic
#121B04 #121B04 #2F470A #537D12 #76B219

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F470A#FFFFFF#000000##FFFFFF
##2F470A1.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)
#4B4100
Deuteranopia (green-blind)
#483F10
Tritanopia (blue-blind)
#31433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f470a;
/* rgb */ color: rgb(47, 71, 10);
/* oklch */ color: oklch(36.5% 0.089 129.3);
Tailwind
colors: {
  custom: {
    50: '#6a7a4f',
    500: '#2f470a',
    950: '#000000',
  },
}
SCSS
$custom: #2f470a;
$custom-light: #6a7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f470a",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 83.607,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.08919,
    "h": 129.3
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#2F470A
secondary
#4D2984
accent
#36F280
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F470A

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

Preview Lab → · Contrast checker → · Palette generator →

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