#2F5F10#2F5F10

#2F5F10 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.119 H 136.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2F5F10
RGBrgb(47, 95, 16)
HSLhsl(96, 71%, 22%)
HSVhsv(96, 83%, 37%)
CMYKcmyk(50.5%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.65, -30.90, 37.07)
CIE-LCHlch(35.65, 48.26, 129.81°)
OKLaboklab(43.5% -0.0861 0.0824)
OKLCHoklch(43.5% 0.119 136.3)
XYZxyz(5.3579, 8.8258, 1.9113)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F10 #40105F
analogous
#575F10 #2F5F10 #105F19
triadic
#2F5F10 #102F5F #5F102F
tetradic
#2F5F10 #10575F #40105F #5F1910
square
#2F5F10 #10575F #40105F #5F1910
split-complementary
#2F5F10 #19105F #5F1057
monochromatic
#0D1A04 #152B07 #2F5F10 #499319 #63C822

Accessibility & contrast

On white

7.59
#2F5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F10
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F10#FFFFFF#000000##FFFFFF
##2F5F101.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#2D5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5f10;
/* rgb */ color: rgb(47, 95, 16);
/* oklch */ color: oklch(43.5% 0.119 136.3);
Tailwind
colors: {
  custom: {
    50: '#6d8d55',
    500: '#2f5f10',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f10;
$custom-light: #6d8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f10",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 96.456,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.11916,
    "h": 136.3
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#2F5F10
secondary
#703398
accent
#3AEEA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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