#2F4716#2F4716

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

Color values

HEX#2F4716
RGBrgb(47, 71, 22)
HSLhsl(89, 53%, 18%)
HSVhsv(89, 69%, 28%)
CMYKcmyk(33.8%, 0%, 69%, 72.2%)
CIE-LABlab(27.21, -18.80, 25.84)
CIE-LCHlch(27.21, 31.95, 126.04°)
OKLaboklab(36.61% -0.0527 0.0598)
OKLCHoklch(36.61% 0.08 131.4)
XYZxyz(3.5703, 5.1686, 1.5684)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4716 #2E1647
analogous
#474616 #2F4716 #164716
triadic
#2F4716 #162F47 #47162F
tetradic
#2F4716 #164746 #2E1647 #471616
square
#2F4716 #164746 #2E1647 #471616
split-complementary
#2F4716 #161647 #461647
monochromatic
#0F1707 #101808 #2F4716 #4E7624 #6DA433

Accessibility & contrast

On white

10.33
#2F4716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4716
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4716#FFFFFF#000000##FFFFFF
##2F47161.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4716;
/* rgb */ color: rgb(47, 71, 22);
/* oklch */ color: oklch(36.6% 0.080 131.4);
Tailwind
colors: {
  custom: {
    50: '#697a55',
    500: '#2f4716',
    950: '#000000',
  },
}
SCSS
$custom: #2f4716;
$custom-light: #697a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4716",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 22
  },
  "hsl": {
    "h": 89.388,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3661,
    "c": 0.0797,
    "h": 131.4
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#2F4716
secondary
#5C3A7E
accent
#4CDC92
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4716

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

Preview Lab → · Contrast checker → · Palette generator →

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