#2F3C16#2F3C16

#2F3C16 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.062 H 125.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2F3C16
RGBrgb(47, 60, 22)
HSLhsl(81, 46%, 16%)
HSVhsv(81, 63%, 24%)
CMYKcmyk(21.7%, 0%, 63.3%, 76.5%)
CIE-LABlab(23.32, -12.64, 21.43)
CIE-LCHlch(23.32, 24.88, 120.54°)
OKLaboklab(33.46% -0.0357 0.0503)
OKLCHoklch(33.46% 0.062 125.3)
XYZxyz(2.9330, 3.8940, 1.3560)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C16 #23163C
analogous
#3C3616 #2F3C16 #1C3C16
triadic
#2F3C16 #162F3C #3C162F
tetradic
#2F3C16 #163C36 #23163C #3C161C
square
#2F3C16 #163C36 #23163C #3C161C
split-complementary
#2F3C16 #161C3C #36163C
monochromatic
#121608 #121608 #2F3C16 #526926 #759637

Accessibility & contrast

On white

11.81
#2F3C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2F3C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C16
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C16#FFFFFF#000000##FFFFFF
##2F3C161.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3812
Deuteranopia (green-blind)
#3E3718
Tritanopia (blue-blind)
#313934
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3c16;
/* rgb */ color: rgb(47, 60, 22);
/* oklch */ color: oklch(33.5% 0.062 125.3);
Tailwind
colors: {
  custom: {
    50: '#697154',
    500: '#2f3c16',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c16;
$custom-light: #697154;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c16",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 22
  },
  "hsl": {
    "h": 80.526,
    "s": 46.341,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33459,
    "c": 0.06171,
    "h": 125.3
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#2F3C16
secondary
#4E3B73
accent
#52D67F
background
#F6F6F4
surface
#EBECE8
border
#C6C7C4
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2F3C16

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

Preview Lab → · Contrast checker → · Palette generator →

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