#2D5C10#2D5C10

#2D5C10 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.5% C 0.116 H 136.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2D5C10
RGBrgb(45, 92, 16)
HSLhsl(97, 70%, 21%)
HSVhsv(97, 83%, 36%)
CMYKcmyk(51.1%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.50, -30.28, 35.94)
CIE-LCHlch(34.50, 46.99, 130.11°)
OKLaboklab(42.52% -0.0842 0.0801)
OKLCHoklch(42.52% 0.116 136.5)
XYZxyz(5.0027, 8.2493, 1.8188)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C10 #3F105C
analogous
#535C10 #2D5C10 #105C19
triadic
#2D5C10 #102D5C #5C102D
tetradic
#2D5C10 #10535C #3F105C #5C1910
square
#2D5C10 #10535C #3F105C #5C1910
split-complementary
#2D5C10 #19105C #5C1053
monochromatic
#0D1A05 #132807 #2D5C10 #469019 #60C422

Accessibility & contrast

On white

7.92
#2D5C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D5C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5C10
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C10#FFFFFF#000000##FFFFFF
##2D5C101.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5401
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#2B584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5c10;
/* rgb */ color: rgb(45, 92, 16);
/* oklch */ color: oklch(42.5% 0.116 136.5);
Tailwind
colors: {
  custom: {
    50: '#6b8a55',
    500: '#2d5c10',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c10;
$custom-light: #6b8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c10",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 97.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.11623,
    "h": 136.5
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#2D5C10
secondary
#703395
accent
#3BEDA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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