#2F5711#2F5711

#2F5711 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.108 H 135.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2F5711
RGBrgb(47, 87, 17)
HSLhsl(94, 67%, 20%)
HSVhsv(94, 80%, 34%)
CMYKcmyk(46%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.83, -27.21, 33.98)
CIE-LCHlch(32.83, 43.53, 128.69°)
OKLaboklab(41.19% -0.0761 0.0761)
OKLCHoklch(41.19% 0.108 135)
XYZxyz(4.6816, 7.4609, 1.7236)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5711 #391157
analogous
#525711 #2F5711 #115716
triadic
#2F5711 #112F57 #57112F
tetradic
#2F5711 #115257 #391157 #571611
square
#2F5711 #115257 #391157 #571611
split-complementary
#2F5711 #161157 #571152
monochromatic
#0E1A05 #132407 #2F5711 #4B8A1B #66BD25

Accessibility & contrast

On white

8.43
#2F5711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F5711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5711
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5711#FFFFFF#000000##FFFFFF
##2F57111.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F04
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#2E534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5711;
/* rgb */ color: rgb(47, 87, 17);
/* oklch */ color: oklch(41.2% 0.108 135.0);
Tailwind
colors: {
  custom: {
    50: '#6c8755',
    500: '#2f5711',
    950: '#000000',
  },
}
SCSS
$custom: #2f5711;
$custom-light: #6c8755;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5711",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 94.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.1076,
    "h": 135
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#2F5711
secondary
#683490
accent
#3EEAA0
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5711

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

Preview Lab → · Contrast checker → · Palette generator →

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