#2F4703#2F4703

#2F4703 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.094 H 128.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2F4703
RGBrgb(47, 71, 3)
HSLhsl(81, 92%, 15%)
HSVhsv(81, 96%, 28%)
CMYKcmyk(33.8%, 0%, 95.8%, 72.2%)
CIE-LABlab(27.07, -20.21, 33.90)
CIE-LCHlch(27.07, 39.47, 120.80°)
OKLaboklab(36.45% -0.0583 0.0732)
OKLCHoklch(36.45% 0.094 128.6)
XYZxyz(3.4420, 5.1173, 0.8925)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4703 #1B0347
analogous
#473D03 #2F4703 #0D4703
triadic
#2F4703 #032F47 #47032F
tetradic
#2F4703 #03473D #1B0347 #47030D
square
#2F4703 #03473D #1B0347 #47030D
split-complementary
#2F4703 #030D47 #3D0347
monochromatic
#131D01 #131D01 #2F4703 #568205 #7DBC08

Accessibility & contrast

On white

10.38
#2F4703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F4703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4703
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4703#FFFFFF#000000##FFFFFF
##2F47031.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#483F0B
Tritanopia (blue-blind)
#31433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f4703;
/* rgb */ color: rgb(47, 71, 3);
/* oklch */ color: oklch(36.4% 0.094 128.6);
Tailwind
colors: {
  custom: {
    50: '#6b7a4b',
    500: '#2f4703',
    950: '#000000',
  },
}
SCSS
$custom: #2f4703;
$custom-light: #6b7a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4703",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 81.176,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.09359,
    "h": 128.6
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#2F4703
secondary
#431E88
accent
#29FF74
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2F4703

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

Preview Lab → · Contrast checker → · Palette generator →

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