#2F3A03#2F3A03

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

Color values

HEX#2F3A03
RGBrgb(47, 58, 3)
HSLhsl(72, 90%, 12%)
HSVhsv(72, 95%, 23%)
CMYKcmyk(19%, 0%, 94.8%, 77.3%)
CIE-LABlab(22.43, -13.06, 29.44)
CIE-LCHlch(22.43, 32.21, 113.93°)
OKLaboklab(32.69% -0.039 0.0648)
OKLCHoklch(32.69% 0.076 121)
XYZxyz(2.7018, 3.6370, 0.6458)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A03 #0E033A
analogous
#3A2A03 #2F3A03 #143A03
triadic
#2F3A03 #032F3A #3A032F
tetradic
#2F3A03 #033A2A #0E033A #3A0314
square
#2F3A03 #033A2A #0E033A #3A0314
split-complementary
#2F3A03 #03143A #2A033A
monochromatic
#181D02 #181D02 #2F3A03 #5E7406 #8DAE09

Accessibility & contrast

On white

12.16
#2F3A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3A03
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A03#FFFFFF#000000##FFFFFF
##2F3A031.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3a03;
/* rgb */ color: rgb(47, 58, 3);
/* oklch */ color: oklch(32.7% 0.076 121.0);
Tailwind
colors: {
  custom: {
    50: '#6a7049',
    500: '#2f3a03',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a03;
$custom-light: #6a7049;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a03",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 72,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.07568,
    "h": 121
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#2F3A03
secondary
#2F1C7D
accent
#29FF54
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #2F3A03

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

Preview Lab → · Contrast checker → · Palette generator →

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