#2F5510#2F5510

#2F5510 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.105 H 134.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2F5510
RGBrgb(47, 85, 16)
HSLhsl(93, 68%, 20%)
HSVhsv(93, 81%, 33%)
CMYKcmyk(44.7%, 0%, 81.2%, 66.7%)
CIE-LABlab(32.12, -26.34, 33.67)
CIE-LCHlch(32.12, 42.75, 128.04°)
OKLaboklab(40.6% -0.0738 0.0753)
OKLCHoklch(40.6% 0.105 134.4)
XYZxyz(4.5142, 7.1385, 1.6301)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5510 #361055
analogous
#525510 #2F5510 #105513
triadic
#2F5510 #102F55 #55102F
tetradic
#2F5510 #105255 #361055 #551310
square
#2F5510 #105255 #361055 #551310
split-complementary
#2F5510 #131055 #551052
monochromatic
#0E1A05 #132106 #2F5510 #4B891A #68BC23

Accessibility & contrast

On white

8.65
#2F5510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F5510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5510
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5510#FFFFFF#000000##FFFFFF
##2F55101.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E03
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#2E5148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5510;
/* rgb */ color: rgb(47, 85, 16);
/* oklch */ color: oklch(40.6% 0.105 134.4);
Tailwind
colors: {
  custom: {
    50: '#6c8554',
    500: '#2f5510',
    950: '#000000',
  },
}
SCSS
$custom: #2f5510;
$custom-light: #6c8554;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5510",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 93.043,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.10543,
    "h": 134.4
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#2F5510
secondary
#65328F
accent
#3DEB9D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5510

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

Preview Lab → · Contrast checker → · Palette generator →

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