#2F470E#2F470E

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

Color values

HEX#2F470E
RGBrgb(47, 71, 14)
HSLhsl(85, 67%, 17%)
HSVhsv(85, 80%, 28%)
CMYKcmyk(33.8%, 0%, 80.3%, 72.2%)
CIE-LABlab(27.14, -19.51, 29.58)
CIE-LCHlch(27.14, 35.44, 123.41°)
OKLaboklab(36.53% -0.0554 0.0664)
OKLCHoklch(36.53% 0.087 129.9)
XYZxyz(3.5048, 5.1424, 1.2233)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F470E #260E47
analogous
#47430E #2F470E #13470E
triadic
#2F470E #0E2F47 #470E2F
tetradic
#2F470E #0E4743 #260E47 #470E13
square
#2F470E #0E4743 #260E47 #470E13
split-complementary
#2F470E #0E1347 #430E47
monochromatic
#111A05 #111A05 #2F470E #517A18 #73AD22

Accessibility & contrast

On white

10.35
#2F470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F470E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F470E#FFFFFF#000000##FFFFFF
##2F470E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4105
Deuteranopia (green-blind)
#474013
Tritanopia (blue-blind)
#30443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f470e;
/* rgb */ color: rgb(47, 71, 14);
/* oklch */ color: oklch(36.5% 0.086 129.9);
Tailwind
colors: {
  custom: {
    50: '#6a7a51',
    500: '#2f470e',
    950: '#000000',
  },
}
SCSS
$custom: #2f470e;
$custom-light: #6a7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f470e",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 85.263,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36527,
    "c": 0.0865,
    "h": 129.9
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#2F470E
secondary
#522F82
accent
#3EEA86
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F470E

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

Preview Lab → · Contrast checker → · Palette generator →

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