#2F3F05#2F3F05

#2F3F05 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.081 H 124.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2F3F05
RGBrgb(47, 63, 5)
HSLhsl(77, 85%, 13%)
HSVhsv(77, 92%, 25%)
CMYKcmyk(25.4%, 0%, 92.1%, 75.3%)
CIE-LABlab(24.23, -15.78, 30.45)
CIE-LCHlch(24.23, 34.29, 117.39°)
OKLaboklab(34.14% -0.0462 0.0667)
OKLCHoklch(34.14% 0.081 124.7)
XYZxyz(2.9772, 4.1703, 0.7916)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F05 #15053F
analogous
#3F3205 #2F3F05 #123F05
triadic
#2F3F05 #052F3F #3F052F
tetradic
#2F3F05 #053F32 #15053F #3F0512
square
#2F3F05 #053F32 #15053F #3F0512
split-complementary
#2F3F05 #05123F #32053F
monochromatic
#151C02 #151C02 #2F3F05 #597809 #84B00E

Accessibility & contrast

On white

11.45
#2F3F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F3F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F05
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F05#FFFFFF#000000##FFFFFF
##2F3F051.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#41390B
Tritanopia (blue-blind)
#323B34
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f05;
/* rgb */ color: rgb(47, 63, 5);
/* oklch */ color: oklch(34.1% 0.081 124.7);
Tailwind
colors: {
  custom: {
    50: '#6a744b',
    500: '#2f3f05',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f05;
$custom-light: #6a744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f05",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 76.552,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34144,
    "c": 0.08109,
    "h": 124.7
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#2F3F05
secondary
#3B2080
accent
#2CFC65
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F3F05

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

Preview Lab → · Contrast checker → · Palette generator →

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