#2F470F#2F470F

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

Color values

HEX#2F470F
RGBrgb(47, 71, 15)
HSLhsl(86, 65%, 17%)
HSVhsv(86, 79%, 28%)
CMYKcmyk(33.8%, 0%, 78.9%, 72.2%)
CIE-LABlab(27.14, -19.44, 29.15)
CIE-LCHlch(27.14, 35.04, 123.69°)
OKLaboklab(36.54% -0.0551 0.0657)
OKLCHoklch(36.54% 0.086 130)
XYZxyz(3.5117, 5.1452, 1.2599)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F470F #270F47
analogous
#47430F #2F470F #13470F
triadic
#2F470F #0F2F47 #470F2F
tetradic
#2F470F #0F4743 #270F47 #470F13
square
#2F470F #0F4743 #270F47 #470F13
split-complementary
#2F470F #0F1347 #430F47
monochromatic
#111905 #111905 #2F470F #507A1A #72AC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F470F#FFFFFF#000000##FFFFFF
##2F470F1.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)
#4B4106
Deuteranopia (green-blind)
#474014
Tritanopia (blue-blind)
#30443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f470f;
/* rgb */ color: rgb(47, 71, 15);
/* oklch */ color: oklch(36.5% 0.086 130.0);
Tailwind
colors: {
  custom: {
    50: '#6a7a51',
    500: '#2f470f',
    950: '#000000',
  },
}
SCSS
$custom: #2f470f;
$custom-light: #6a7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f470f",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 85.714,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36536,
    "c": 0.08575,
    "h": 130
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#2F470F
secondary
#533081
accent
#40E888
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F470F

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

Preview Lab → · Contrast checker → · Palette generator →

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