#2F5411#2F5411

#2F5411 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.103 H 134.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2F5411
RGBrgb(47, 84, 17)
HSLhsl(93, 66%, 20%)
HSVhsv(93, 80%, 33%)
CMYKcmyk(44%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.77, -25.79, 32.93)
CIE-LCHlch(31.77, 41.83, 128.07°)
OKLaboklab(40.32% -0.0722 0.0739)
OKLCHoklch(40.32% 0.103 134.3)
XYZxyz(4.4437, 6.9852, 1.6443)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5411 #361154
analogous
#515411 #2F5411 #115414
triadic
#2F5411 #112F54 #54112F
tetradic
#2F5411 #115154 #361154 #541411
square
#2F5411 #115154 #361154 #541411
split-complementary
#2F5411 #141154 #541151
monochromatic
#0E1905 #132107 #2F5411 #4B871B #68BA26

Accessibility & contrast

On white

8.76
#2F5411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F5411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5411
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5411#FFFFFF#000000##FFFFFF
##2F54111.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#2F5047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f5411;
/* rgb */ color: rgb(47, 84, 17);
/* oklch */ color: oklch(40.3% 0.103 134.3);
Tailwind
colors: {
  custom: {
    50: '#6b8454',
    500: '#2f5411',
    950: '#000000',
  },
}
SCSS
$custom: #2f5411;
$custom-light: #6b8454;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5411",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 93.134,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.10336,
    "h": 134.3
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#2F5411
secondary
#65348D
accent
#3FE99D
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5411

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

Preview Lab → · Contrast checker → · Palette generator →

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