#2F4C11#2F4C11

#2F4C11 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.092 H 132.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2F4C11
RGBrgb(47, 76, 17)
HSLhsl(89, 63%, 18%)
HSVhsv(89, 78%, 30%)
CMYKcmyk(38.2%, 0%, 77.6%, 70.2%)
CIE-LABlab(28.94, -21.86, 30.08)
CIE-LCHlch(28.94, 37.19, 126.01°)
OKLaboklab(38% -0.0616 0.068)
OKLCHoklch(38% 0.092 132.2)
XYZxyz(3.8579, 5.8135, 1.4491)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C11 #2E114C
analogous
#4C4B11 #2F4C11 #114C11
triadic
#2F4C11 #112F4C #4C112F
tetradic
#2F4C11 #114C4B #2E114C #4C1111
square
#2F4C11 #114C4B #2E114C #4C1111
split-complementary
#2F4C11 #11114C #4B114C
monochromatic
#0F1906 #101A06 #2F4C11 #4E7E1C #6DB027

Accessibility & contrast

On white

9.71
#2F4C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F4C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C11
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C11#FFFFFF#000000##FFFFFF
##2F4C111.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504608
Deuteranopia (green-blind)
#4C4316
Tritanopia (blue-blind)
#304940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4c11;
/* rgb */ color: rgb(47, 76, 17);
/* oklch */ color: oklch(38.0% 0.092 132.2);
Tailwind
colors: {
  custom: {
    50: '#6a7e53',
    500: '#2f4c11',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c11;
$custom-light: #6a7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c11",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 89.492,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.0917,
    "h": 132.2
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#2F4C11
secondary
#5C3385
accent
#41E693
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4C11

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

Preview Lab → · Contrast checker → · Palette generator →

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