#2F4516#2F4516

#2F4516 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.076 H 130.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2F4516
RGBrgb(47, 69, 22)
HSLhsl(88, 52%, 18%)
HSVhsv(88, 68%, 27%)
CMYKcmyk(31.9%, 0%, 68.1%, 72.9%)
CIE-LABlab(26.50, -17.72, 25.05)
CIE-LCHlch(26.50, 30.68, 125.28°)
OKLaboklab(36.04% -0.0498 0.0581)
OKLCHoklch(36.04% 0.077 130.6)
XYZxyz(3.4452, 4.9184, 1.5267)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4516 #2C1645
analogous
#454316 #2F4516 #184516
triadic
#2F4516 #162F45 #45162F
tetradic
#2F4516 #164543 #2C1645 #451618
square
#2F4516 #164543 #2C1645 #451618
split-complementary
#2F4516 #161845 #431645
monochromatic
#101707 #101707 #2F4516 #4F7325 #6EA234

Accessibility & contrast

On white

10.59
#2F4516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F4516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4516
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4516#FFFFFF#000000##FFFFFF
##2F45161.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484011
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#30423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4516;
/* rgb */ color: rgb(47, 69, 22);
/* oklch */ color: oklch(36.0% 0.076 130.6);
Tailwind
colors: {
  custom: {
    50: '#697855',
    500: '#2f4516',
    950: '#000000',
  },
}
SCSS
$custom: #2f4516;
$custom-light: #697855;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4516",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 22
  },
  "hsl": {
    "h": 88.085,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36035,
    "c": 0.0765,
    "h": 130.6
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#2F4516
secondary
#593A7C
accent
#4DDB8F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4516

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

Preview Lab → · Contrast checker → · Palette generator →

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