#2F3C05#2F3C05

#2F3C05 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.077 H 122.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2F3C05
RGBrgb(47, 60, 5)
HSLhsl(74, 85%, 13%)
HSVhsv(74, 92%, 24%)
CMYKcmyk(21.7%, 0%, 91.7%, 76.5%)
CIE-LABlab(23.16, -14.08, 29.38)
CIE-LCHlch(23.16, 32.58, 115.61°)
OKLaboklab(33.28% -0.0415 0.0647)
OKLCHoklch(33.28% 0.077 122.7)
XYZxyz(2.8156, 3.8470, 0.7378)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C05 #12053C
analogous
#3C2D05 #2F3C05 #133C05
triadic
#2F3C05 #052F3C #3C052F
tetradic
#2F3C05 #053C2D #12053C #3C0513
square
#2F3C05 #053C2D #12053C #3C0513
split-complementary
#2F3C05 #05133C #2D053C
monochromatic
#161C02 #161C02 #2F3C05 #5B740A #88AD0E

Accessibility & contrast

On white

11.87
#2F3C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F3C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C05
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C05#FFFFFF#000000##FFFFFF
##2F3C051.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#3F370A
Tritanopia (blue-blind)
#323832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c05;
/* rgb */ color: rgb(47, 60, 5);
/* oklch */ color: oklch(33.3% 0.077 122.7);
Tailwind
colors: {
  custom: {
    50: '#6a714b',
    500: '#2f3c05',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c05;
$custom-light: #6a714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c05",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 74.182,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3328,
    "c": 0.07686,
    "h": 122.7
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#2F3C05
secondary
#36207D
accent
#2DFB5E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #2F3C05

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

Preview Lab → · Contrast checker → · Palette generator →

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