#2F4603#2F4603

#2F4603 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.092 H 128.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2F4603
RGBrgb(47, 70, 3)
HSLhsl(81, 92%, 14%)
HSVhsv(81, 96%, 27%)
CMYKcmyk(32.9%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.71, -19.69, 33.59)
CIE-LCHlch(26.71, 38.93, 120.38°)
OKLaboklab(36.16% -0.0569 0.0726)
OKLCHoklch(36.16% 0.092 128.1)
XYZxyz(3.3789, 4.9911, 0.8715)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4603 #1A0346
analogous
#463C03 #2F4603 #0E4603
triadic
#2F4603 #032F46 #46032F
tetradic
#2F4603 #03463C #1A0346 #46030E
square
#2F4603 #03463C #1A0346 #46030E
split-complementary
#2F4603 #030E46 #3C0346
monochromatic
#141D01 #141D01 #2F4603 #568106 #7EBB08

Accessibility & contrast

On white

10.51
#2F4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F4603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4603
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4603#FFFFFF#000000##FFFFFF
##2F46031.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0A
Tritanopia (blue-blind)
#31423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4603;
/* rgb */ color: rgb(47, 70, 3);
/* oklch */ color: oklch(36.2% 0.092 128.1);
Tailwind
colors: {
  custom: {
    50: '#6b794b',
    500: '#2f4603',
    950: '#000000',
  },
}
SCSS
$custom: #2f4603;
$custom-light: #6b794b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4603",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 80.597,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36157,
    "c": 0.09222,
    "h": 128.1
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#2F4603
secondary
#421D87
accent
#29FF72
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2F4603

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

Preview Lab → · Contrast checker → · Palette generator →

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