#2D5F10#2D5F10

#2D5F10 is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.120 H 136.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2D5F10
RGBrgb(45, 95, 16)
HSLhsl(98, 71%, 22%)
HSVhsv(98, 83%, 37%)
CMYKcmyk(52.6%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.56, -31.59, 36.95)
CIE-LCHlch(35.56, 48.61, 130.53°)
OKLaboklab(43.4% -0.0878 0.0822)
OKLCHoklch(43.4% 0.12 136.9)
XYZxyz(5.2678, 8.7793, 1.9071)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F10 #42105F
analogous
#555F10 #2D5F10 #105F1B
triadic
#2D5F10 #102D5F #5F102D
tetradic
#2D5F10 #10555F #42105F #5F1B10
square
#2D5F10 #10555F #42105F #5F1B10
split-complementary
#2D5F10 #1B105F #5F1055
monochromatic
#0C1A04 #142B07 #2D5F10 #469319 #5FC822

Accessibility & contrast

On white

7.62
#2D5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F10
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F10#FFFFFF#000000##FFFFFF
##2D5F101.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5f10;
/* rgb */ color: rgb(45, 95, 16);
/* oklch */ color: oklch(43.4% 0.120 136.9);
Tailwind
colors: {
  custom: {
    50: '#6c8d55',
    500: '#2d5f10',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f10;
$custom-light: #6c8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f10",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 97.975,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43396,
    "c": 0.12026,
    "h": 136.9
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#2D5F10
secondary
#733398
accent
#3AEEAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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