#2F4719#2F4719

#2F4719 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.077 H 132.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2F4719
RGBrgb(47, 71, 25)
HSLhsl(91, 48%, 19%)
HSVhsv(91, 65%, 28%)
CMYKcmyk(33.8%, 0%, 64.8%, 72.2%)
CIE-LABlab(27.24, -18.47, 24.28)
CIE-LCHlch(27.24, 30.51, 127.26°)
OKLaboklab(36.65% -0.0515 0.0568)
OKLCHoklch(36.65% 0.077 132.2)
XYZxyz(3.6009, 5.1809, 1.7298)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4719 #311947
analogous
#464719 #2F4719 #19471A
triadic
#2F4719 #192F47 #47192F
tetradic
#2F4719 #194647 #311947 #471A19
square
#2F4719 #194647 #311947 #471A19
split-complementary
#2F4719 #1A1947 #471946
monochromatic
#0F1708 #111A09 #2F4719 #4D7429 #6BA239

Accessibility & contrast

On white

10.31
#2F4719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F4719 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4719
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4719#FFFFFF#000000##FFFFFF
##2F47191.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4214
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#30443D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f4719;
/* rgb */ color: rgb(47, 71, 25);
/* oklch */ color: oklch(36.6% 0.077 132.2);
Tailwind
colors: {
  custom: {
    50: '#697a57',
    500: '#2f4719',
    950: '#000000',
  },
}
SCSS
$custom: #2f4719;
$custom-light: #697a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4719",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 25
  },
  "hsl": {
    "h": 91.304,
    "s": 47.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.07671,
    "h": 132.2
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#2F4719
secondary
#5F3E7D
accent
#50D897
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4719

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

Preview Lab → · Contrast checker → · Palette generator →

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