#2F3A05#2F3A05

#2F3A05 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.074 H 121.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2F3A05
RGBrgb(47, 58, 5)
HSLhsl(72, 84%, 12%)
HSVhsv(72, 91%, 23%)
CMYKcmyk(19%, 0%, 91.4%, 77.3%)
CIE-LABlab(22.45, -12.92, 28.64)
CIE-LCHlch(22.45, 31.42, 114.29°)
OKLaboklab(32.71% -0.0384 0.0633)
OKLCHoklch(32.71% 0.074 121.2)
XYZxyz(2.7128, 3.6414, 0.7035)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A05 #10053A
analogous
#3A2B05 #2F3A05 #143A05
triadic
#2F3A05 #052F3A #3A052F
tetradic
#2F3A05 #053A2B #10053A #3A0514
square
#2F3A05 #053A2B #10053A #3A0514
split-complementary
#2F3A05 #05143A #2B053A
monochromatic
#171C02 #171C02 #2F3A05 #5D720A #8AAB0F

Accessibility & contrast

On white

12.15
#2F3A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A05
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A05#FFFFFF#000000##FFFFFF
##2F3A051.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a05;
/* rgb */ color: rgb(47, 58, 5);
/* oklch */ color: oklch(32.7% 0.074 121.2);
Tailwind
colors: {
  custom: {
    50: '#6a704a',
    500: '#2f3a05',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a05;
$custom-light: #6a704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a05",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 72.453,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32706,
    "c": 0.07405,
    "h": 121.2
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#2F3A05
secondary
#33207B
accent
#2DFA58
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A05

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

Preview Lab → · Contrast checker → · Palette generator →

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