#2F4B11#2F4B11

#2F4B11 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.090 H 131.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2F4B11
RGBrgb(47, 75, 17)
HSLhsl(89, 63%, 18%)
HSVhsv(89, 77%, 29%)
CMYKcmyk(37.3%, 0%, 77.3%, 70.6%)
CIE-LABlab(28.58, -21.35, 29.72)
CIE-LCHlch(28.58, 36.59, 125.70°)
OKLaboklab(37.71% -0.0602 0.0672)
OKLCHoklch(37.71% 0.09 131.8)
XYZxyz(3.7895, 5.6768, 1.4263)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B11 #2D114B
analogous
#4B4A11 #2F4B11 #124B11
triadic
#2F4B11 #112F4B #4B112F
tetradic
#2F4B11 #114B4A #2D114B #4B1112
square
#2F4B11 #114B4A #2D114B #4B1112
split-complementary
#2F4B11 #11124B #4A114B
monochromatic
#101906 #101906 #2F4B11 #4E7D1C #6EAF28

Accessibility & contrast

On white

9.83
#2F4B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F4B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B11
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B11#FFFFFF#000000##FFFFFF
##2F4B111.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#30483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b11;
/* rgb */ color: rgb(47, 75, 17);
/* oklch */ color: oklch(37.7% 0.090 131.8);
Tailwind
colors: {
  custom: {
    50: '#6a7d53',
    500: '#2f4b11',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b11;
$custom-light: #6a7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b11",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 88.966,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37712,
    "c": 0.0902,
    "h": 131.8
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#2F4B11
secondary
#5B3384
accent
#42E691
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4B11

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

Preview Lab → · Contrast checker → · Palette generator →

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