#2F5C10#2F5C10

#2F5C10 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.115 H 135.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2F5C10
RGBrgb(47, 92, 16)
HSLhsl(96, 70%, 21%)
HSVhsv(96, 83%, 36%)
CMYKcmyk(48.9%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.59, -29.57, 36.06)
CIE-LCHlch(34.59, 46.63, 129.35°)
OKLaboklab(42.63% -0.0825 0.0803)
OKLCHoklch(42.63% 0.115 135.8)
XYZxyz(5.0928, 8.2957, 1.8230)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C10 #3D105C
analogous
#555C10 #2F5C10 #105C17
triadic
#2F5C10 #102F5C #5C102F
tetradic
#2F5C10 #10555C #3D105C #5C1710
square
#2F5C10 #10555C #3D105C #5C1710
split-complementary
#2F5C10 #17105C #5C1055
monochromatic
#0D1A05 #142807 #2F5C10 #4A9019 #64C422

Accessibility & contrast

On white

7.90
#2F5C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F5C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C10
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C10#FFFFFF#000000##FFFFFF
##2F5C101.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#2D584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5c10;
/* rgb */ color: rgb(47, 92, 16);
/* oklch */ color: oklch(42.6% 0.115 135.8);
Tailwind
colors: {
  custom: {
    50: '#6d8a55',
    500: '#2f5c10',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c10;
$custom-light: #6d8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c10",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 95.526,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.11512,
    "h": 135.8
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#2F5C10
secondary
#6D3395
accent
#3BEDA4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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