#2F3F04#2F3F04

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

Color values

HEX#2F3F04
RGBrgb(47, 63, 4)
HSLhsl(76, 88%, 13%)
HSVhsv(76, 94%, 25%)
CMYKcmyk(25.4%, 0%, 93.7%, 75.3%)
CIE-LABlab(24.22, -15.84, 30.85)
CIE-LCHlch(24.22, 34.68, 117.19°)
OKLaboklab(34.14% -0.0464 0.0674)
OKLCHoklch(34.14% 0.082 124.6)
XYZxyz(2.9717, 4.1681, 0.7628)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F04 #14043F
analogous
#3F3104 #2F3F04 #113F04
triadic
#2F3F04 #042F3F #3F042F
tetradic
#2F3F04 #043F31 #14043F #3F0411
square
#2F3F04 #043F31 #14043F #3F0411
split-complementary
#2F3F04 #04113F #31043F
monochromatic
#151D02 #151D02 #2F3F04 #5A7908 #85B20B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3F04#FFFFFF#000000##FFFFFF
##2F3F041.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)
#41390A
Tritanopia (blue-blind)
#323B34
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f04;
/* rgb */ color: rgb(47, 63, 4);
/* oklch */ color: oklch(34.1% 0.082 124.6);
Tailwind
colors: {
  custom: {
    50: '#6a744b',
    500: '#2f3f04',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f04;
$custom-light: #6a744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f04",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 76.271,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34136,
    "c": 0.08182,
    "h": 124.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#2F3F04
secondary
#391E80
accent
#2AFE63
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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