#2F3A16#2F3A16

#2F3A16 is a dark, muted yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.058 H 123.7°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2F3A16
RGBrgb(47, 58, 22)
HSLhsl(78, 45%, 16%)
HSVhsv(78, 62%, 23%)
CMYKcmyk(19%, 0%, 62.1%, 77.3%)
CIE-LABlab(22.61, -11.46, 20.61)
CIE-LCHlch(22.61, 23.58, 119.08°)
OKLaboklab(32.89% -0.0324 0.0486)
OKLCHoklch(32.89% 0.058 123.7)
XYZxyz(2.8302, 3.6884, 1.3217)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A16 #21163A
analogous
#3A3316 #2F3A16 #1D3A16
triadic
#2F3A16 #162F3A #3A162F
tetradic
#2F3A16 #163A33 #21163A #3A161D
square
#2F3A16 #163A33 #21163A #3A161D
split-complementary
#2F3A16 #161D3A #33163A
monochromatic
#121608 #121608 #2F3A16 #536627 #779338

Accessibility & contrast

On white

12.09
#2F3A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2F3A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A16
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A16#FFFFFF#000000##FFFFFF
##2F3A161.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3613
Deuteranopia (green-blind)
#3C3618
Tritanopia (blue-blind)
#313732
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a16;
/* rgb */ color: rgb(47, 58, 22);
/* oklch */ color: oklch(32.9% 0.058 123.7);
Tailwind
colors: {
  custom: {
    50: '#687054',
    500: '#2f3a16',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a16;
$custom-light: #687054;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a16",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 22
  },
  "hsl": {
    "h": 78.333,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32891,
    "c": 0.05838,
    "h": 123.7
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#2F3A16
secondary
#4B3B71
accent
#53D57B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2F3A16

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

Preview Lab → · Contrast checker → · Palette generator →

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