#2F3F17#2F3F17

#2F3F17 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.066 H 127.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2F3F17
RGBrgb(47, 63, 23)
HSLhsl(84, 47%, 17%)
HSVhsv(84, 63%, 25%)
CMYKcmyk(25.4%, 0%, 63.5%, 75.3%)
CIE-LABlab(24.39, -14.27, 22.10)
CIE-LCHlch(24.39, 26.31, 122.84°)
OKLaboklab(34.33% -0.0401 0.0519)
OKLCHoklch(34.33% 0.066 127.7)
XYZxyz(3.1044, 4.2212, 1.4617)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F17 #27173F
analogous
#3F3B17 #2F3F17 #1B3F17
triadic
#2F3F17 #172F3F #3F172F
tetradic
#2F3F17 #173F3B #27173F #3F171B
square
#2F3F17 #173F3B #27173F #3F171B
split-complementary
#2F3F17 #171B3F #3B173F
monochromatic
#111608 #111608 #2F3F17 #506C27 #729938

Accessibility & contrast

On white

11.39
#2F3F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F3F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F17
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F17#FFFFFF#000000##FFFFFF
##2F3F171.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B13
Deuteranopia (green-blind)
#403A1A
Tritanopia (blue-blind)
#313C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f17;
/* rgb */ color: rgb(47, 63, 23);
/* oklch */ color: oklch(34.3% 0.066 127.7);
Tailwind
colors: {
  custom: {
    50: '#697455',
    500: '#2f3f17',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f17;
$custom-light: #697455;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f17",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 23
  },
  "hsl": {
    "h": 84,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34328,
    "c": 0.06559,
    "h": 127.7
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#2F3F17
secondary
#533C76
accent
#52D687
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F3F17

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

Preview Lab → · Contrast checker → · Palette generator →

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