#2F4D11#2F4D11

#2F4D11 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.093 H 132.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2F4D11
RGBrgb(47, 77, 17)
HSLhsl(90, 64%, 18%)
HSVhsv(90, 78%, 30%)
CMYKcmyk(39%, 0%, 77.9%, 69.8%)
CIE-LABlab(29.29, -22.37, 30.44)
CIE-LCHlch(29.29, 37.78, 126.30°)
OKLaboklab(38.29% -0.0629 0.0687)
OKLCHoklch(38.29% 0.093 132.5)
XYZxyz(3.9273, 5.9524, 1.4722)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D11 #2F114D
analogous
#4D4D11 #2F4D11 #114D11
triadic
#2F4D11 #112F4D #4D112F
tetradic
#2F4D11 #114D4D #2F114D #4D1111
square
#2F4D11 #114D4D #2F114D #4D1111
split-complementary
#2F4D11 #11114D #4D114D
monochromatic
#0F1906 #101B06 #2F4D11 #4E7F1C #6CB127

Accessibility & contrast

On white

9.59
#2F4D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F4D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D11
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D11#FFFFFF#000000##FFFFFF
##2F4D111.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#304A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4d11;
/* rgb */ color: rgb(47, 77, 17);
/* oklch */ color: oklch(38.3% 0.093 132.5);
Tailwind
colors: {
  custom: {
    50: '#6a7f53',
    500: '#2f4d11',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d11;
$custom-light: #6a7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d11",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.09318,
    "h": 132.5
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#2F4D11
secondary
#5D3386
accent
#41E794
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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