#2F4709#2F4709

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

Color values

HEX#2F4709
RGBrgb(47, 71, 9)
HSLhsl(83, 78%, 16%)
HSVhsv(83, 87%, 28%)
CMYKcmyk(33.8%, 0%, 87.3%, 72.2%)
CIE-LABlab(27.10, -19.84, 31.54)
CIE-LCHlch(27.10, 37.26, 122.18°)
OKLaboklab(36.49% -0.0568 0.0696)
OKLCHoklch(36.49% 0.09 129.2)
XYZxyz(3.4748, 5.1304, 1.0656)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4709 #210947
analogous
#474009 #2F4709 #104709
triadic
#2F4709 #092F47 #47092F
tetradic
#2F4709 #094740 #210947 #470910
square
#2F4709 #094740 #210947 #470910
split-complementary
#2F4709 #091047 #400947
monochromatic
#121B03 #121B03 #2F4709 #537D10 #77B417

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4709#FFFFFF#000000##FFFFFF
##2F47091.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: #2f4709;
/* rgb */ color: rgb(47, 71, 9);
/* oklch */ color: oklch(36.5% 0.090 129.2);
Tailwind
colors: {
  custom: {
    50: '#6a7a4e',
    500: '#2f4709',
    950: '#000000',
  },
}
SCSS
$custom: #2f4709;
$custom-light: #6a7a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4709",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 9
  },
  "hsl": {
    "h": 83.226,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36489,
    "c": 0.08981,
    "h": 129.2
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#2F4709
secondary
#4B2784
accent
#34F47E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4709

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

Preview Lab → · Contrast checker → · Palette generator →

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