#2F6711#2F6711

#2F6711 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.129 H 137.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2F6711
RGBrgb(47, 103, 17)
HSLhsl(99, 72%, 24%)
HSVhsv(99, 83%, 40%)
CMYKcmyk(54.4%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.45, -34.27, 39.38)
CIE-LCHlch(38.45, 52.20, 131.04°)
OKLaboklab(45.81% -0.0951 0.0874)
OKLCHoklch(45.81% 0.129 137.4)
XYZxyz(6.1235, 10.3448, 2.2043)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6711 #491167
analogous
#5A6711 #2F6711 #11671E
triadic
#2F6711 #112F67 #67112F
tetradic
#2F6711 #115A67 #491167 #671E11
square
#2F6711 #115A67 #491167 #671E11
split-complementary
#2F6711 #1E1167 #67115A
monochromatic
#0C1A04 #173208 #2F6711 #479C1A #5FD022

Accessibility & contrast

On white

6.84
#2F6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6711
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6711#FFFFFF#000000##FFFFFF
##2F67111.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6711;
/* rgb */ color: rgb(47, 103, 17);
/* oklch */ color: oklch(45.8% 0.129 137.4);
Tailwind
colors: {
  custom: {
    50: '#6e9357',
    500: '#2f6711',
    950: '#000000',
  },
}
SCSS
$custom: #2f6711;
$custom-light: #6e9357;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6711",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 99.07,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45807,
    "c": 0.12915,
    "h": 137.4
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#2F6711
secondary
#7A359F
accent
#39EEAF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6711

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

Preview Lab → · Contrast checker → · Palette generator →

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