#2F3B04#2F3B04

#2F3B04 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.076 H 121.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2F3B04
RGBrgb(47, 59, 4)
HSLhsl(73, 87%, 12%)
HSVhsv(73, 93%, 23%)
CMYKcmyk(20.3%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.80, -13.57, 29.41)
CIE-LCHlch(22.80, 32.39, 114.78°)
OKLaboklab(32.98% -0.0403 0.0647)
OKLCHoklch(32.98% 0.076 121.9)
XYZxyz(2.7582, 3.7410, 0.6916)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B04 #10043B
analogous
#3B2C04 #2F3B04 #133B04
triadic
#2F3B04 #042F3B #3B042F
tetradic
#2F3B04 #043B2C #10043B #3B0413
square
#2F3B04 #043B2C #10043B #3B0413
split-complementary
#2F3B04 #04133B #2C043B
monochromatic
#171D02 #171D02 #2F3B04 #5D7408 #8AAE0C

Accessibility & contrast

On white

12.01
#2F3B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F3B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B04
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B04#FFFFFF#000000##FFFFFF
##2F3B041.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3E3609
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3b04;
/* rgb */ color: rgb(47, 59, 4);
/* oklch */ color: oklch(33.0% 0.076 121.9);
Tailwind
colors: {
  custom: {
    50: '#6a704a',
    500: '#2f3b04',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b04;
$custom-light: #6a704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b04",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 73.091,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32984,
    "c": 0.07624,
    "h": 121.9
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#2F3B04
secondary
#331E7D
accent
#2AFD58
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #2F3B04

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

Preview Lab → · Contrast checker → · Palette generator →

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