#2F3B03#2F3B03

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

Color values

HEX#2F3B03
RGBrgb(47, 59, 3)
HSLhsl(73, 90%, 12%)
HSVhsv(73, 95%, 23%)
CMYKcmyk(20.3%, 0%, 94.9%, 76.9%)
CIE-LABlab(22.79, -13.64, 29.81)
CIE-LCHlch(22.79, 32.78, 114.59°)
OKLaboklab(32.98% -0.0406 0.0655)
OKLCHoklch(32.98% 0.077 121.8)
XYZxyz(2.7527, 3.7388, 0.6628)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B03 #0F033B
analogous
#3B2B03 #2F3B03 #133B03
triadic
#2F3B03 #032F3B #3B032F
tetradic
#2F3B03 #033B2B #0F033B #3B0313
square
#2F3B03 #033B2B #0F033B #3B0313
split-complementary
#2F3B03 #03133B #2B033B
monochromatic
#171D01 #171D01 #2F3B03 #5D7506 #8CAF09

Accessibility & contrast

On white

12.02
#2F3B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3B03
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B03#FFFFFF#000000##FFFFFF
##2F3B031.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3b03;
/* rgb */ color: rgb(47, 59, 3);
/* oklch */ color: oklch(33.0% 0.077 121.8);
Tailwind
colors: {
  custom: {
    50: '#6a7049',
    500: '#2f3b03',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b03;
$custom-light: #6a7049;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b03",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 3
  },
  "hsl": {
    "h": 72.857,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32976,
    "c": 0.07705,
    "h": 121.8
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#2F3B03
secondary
#311C7E
accent
#29FF57
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #2F3B03

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

Preview Lab → · Contrast checker → · Palette generator →

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