#2F5110#2F5110

#2F5110 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.100 H 133.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2F5110
RGBrgb(47, 81, 16)
HSLhsl(91, 67%, 19%)
HSVhsv(91, 80%, 32%)
CMYKcmyk(42%, 0%, 80.2%, 68.2%)
CIE-LABlab(30.70, -24.42, 32.28)
CIE-LCHlch(30.70, 40.48, 127.11°)
OKLaboklab(39.44% -0.0686 0.0724)
OKLCHoklch(39.44% 0.1 133.5)
XYZxyz(4.2082, 6.5264, 1.5281)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5110 #321051
analogous
#505110 #2F5110 #105112
triadic
#2F5110 #102F51 #51102F
tetradic
#2F5110 #105051 #321051 #511210
square
#2F5110 #105051 #321051 #511210
split-complementary
#2F5110 #121051 #511050
monochromatic
#0F1A05 #111E06 #2F5110 #4D841A #6AB724

Accessibility & contrast

On white

9.11
#2F5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5110
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5110#FFFFFF#000000##FFFFFF
##2F51101.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A05
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#2F4D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f5110;
/* rgb */ color: rgb(47, 81, 16);
/* oklch */ color: oklch(39.4% 0.100 133.5);
Tailwind
colors: {
  custom: {
    50: '#6b8253',
    500: '#2f5110',
    950: '#000000',
  },
}
SCSS
$custom: #2f5110;
$custom-light: #6b8253;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5110",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 91.385,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.09974,
    "h": 133.5
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#2F5110
secondary
#60328B
accent
#3EEA98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F5110

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

Preview Lab → · Contrast checker → · Palette generator →

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