#2F4E03#2F4E03

#2F4E03 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.103 H 131.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2F4E03
RGBrgb(47, 78, 3)
HSLhsl(85, 93%, 16%)
HSVhsv(85, 96%, 31%)
CMYKcmyk(39.7%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.56, -23.74, 35.99)
CIE-LCHlch(29.56, 43.11, 123.41°)
OKLaboklab(38.49% -0.0678 0.0777)
OKLCHoklch(38.49% 0.103 131.1)
XYZxyz(3.9131, 6.0595, 1.0496)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E03 #22034E
analogous
#4E4703 #2F4E03 #094E03
triadic
#2F4E03 #032F4E #4E032F
tetradic
#2F4E03 #034E47 #22034E #4E0309
square
#2F4E03 #034E47 #22034E #4E0309
split-complementary
#2F4E03 #03094E #47034E
monochromatic
#121D01 #121D01 #2F4E03 #538905 #76C408

Accessibility & contrast

On white

9.49
#2F4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F4E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E03
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E03#FFFFFF#000000##FFFFFF
##2F4E031.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4E450C
Tritanopia (blue-blind)
#304A41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e03;
/* rgb */ color: rgb(47, 78, 3);
/* oklch */ color: oklch(38.5% 0.103 131.1);
Tailwind
colors: {
  custom: {
    50: '#6b804d',
    500: '#2f4e03',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e03;
$custom-light: #6b804d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e03",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 84.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38485,
    "c": 0.10308,
    "h": 131.1
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#2F4E03
secondary
#4D1E8E
accent
#29FF81
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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