#2F3905#2F3905

#2F3905 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.073 H 120.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2F3905
RGBrgb(47, 57, 5)
HSLhsl(72, 84%, 12%)
HSVhsv(72, 91%, 22%)
CMYKcmyk(17.5%, 0%, 91.2%, 77.6%)
CIE-LABlab(22.09, -12.34, 28.27)
CIE-LCHlch(22.09, 30.84, 113.58°)
OKLaboklab(32.42% -0.0368 0.0627)
OKLCHoklch(32.42% 0.073 120.4)
XYZxyz(2.6629, 3.5416, 0.6869)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3905 #0F0539
analogous
#392905 #2F3905 #153905
triadic
#2F3905 #052F39 #39052F
tetradic
#2F3905 #053929 #0F0539 #390515
square
#2F3905 #053929 #0F0539 #390515
split-complementary
#2F3905 #051539 #290539
monochromatic
#171C02 #171C02 #2F3905 #5D710A #8CAA0F

Accessibility & contrast

On white

12.29
#2F3905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F3905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3905
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3905#FFFFFF#000000##FFFFFF
##2F39051.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C350A
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3905;
/* rgb */ color: rgb(47, 57, 5);
/* oklch */ color: oklch(32.4% 0.073 120.4);
Tailwind
colors: {
  custom: {
    50: '#6a6f4a',
    500: '#2f3905',
    950: '#000000',
  },
}
SCSS
$custom: #2f3905;
$custom-light: #6a6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3905",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 71.538,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3242,
    "c": 0.07265,
    "h": 120.4
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#2F3905
secondary
#31207A
accent
#2EFA55
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3905

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

Preview Lab → · Contrast checker → · Palette generator →

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