#2F5416#2F5416

#2F5416 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.100 H 135.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2F5416
RGBrgb(47, 84, 22)
HSLhsl(96, 58%, 21%)
HSVhsv(96, 74%, 33%)
CMYKcmyk(44%, 0%, 73.8%, 67.1%)
CIE-LABlab(31.81, -25.38, 30.80)
CIE-LCHlch(31.81, 39.91, 129.49°)
OKLaboklab(40.37% -0.0707 0.0702)
OKLCHoklch(40.37% 0.1 135.2)
XYZxyz(4.4873, 7.0027, 1.8741)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5416 #3B1654
analogous
#4E5416 #2F5416 #16541C
triadic
#2F5416 #162F54 #54162F
tetradic
#2F5416 #164E54 #3B1654 #541C16
square
#2F5416 #164E54 #3B1654 #541C16
split-complementary
#2F5416 #1C1654 #54164E
monochromatic
#0E1806 #142409 #2F5416 #4A8423 #65B52F

Accessibility & contrast

On white

8.75
#2F5416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F5416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5416
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5416#FFFFFF#000000##FFFFFF
##2F54161.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0D
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#2E5147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f5416;
/* rgb */ color: rgb(47, 84, 22);
/* oklch */ color: oklch(40.4% 0.100 135.2);
Tailwind
colors: {
  custom: {
    50: '#6b8457',
    500: '#2f5416',
    950: '#000000',
  },
}
SCSS
$custom: #2f5416;
$custom-light: #6b8457;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5416",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 22
  },
  "hsl": {
    "h": 95.806,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.09965,
    "h": 135.2
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#2F5416
secondary
#6B3A8B
accent
#46E2A3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5416

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

Preview Lab → · Contrast checker → · Palette generator →

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