#2D6010#2D6010

#2D6010 is a dark, vivid yellow-green. Relative luminance 0.090; OKLCH L 43.7% C 0.122 H 137.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D6010
RGBrgb(45, 96, 16)
HSLhsl(98, 71%, 22%)
HSVhsv(98, 83%, 38%)
CMYKcmyk(53.1%, 0%, 83.3%, 62.4%)
CIE-LABlab(35.91, -32.02, 37.28)
CIE-LCHlch(35.91, 49.15, 130.66°)
OKLaboklab(43.69% -0.0889 0.0829)
OKLCHoklch(43.69% 0.122 137)
XYZxyz(5.3584, 8.9607, 1.9373)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6010 #431060
analogous
#556010 #2D6010 #10601B
triadic
#2D6010 #102D60 #60102D
tetradic
#2D6010 #105560 #431060 #601B10
square
#2D6010 #105560 #431060 #601B10
split-complementary
#2D6010 #1B1060 #601055
monochromatic
#0C1A04 #142C07 #2D6010 #469419 #5EC921

Accessibility & contrast

On white

7.52
#2D6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D6010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6010
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6010#FFFFFF#000000##FFFFFF
##2D60101.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#2A5C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d6010;
/* rgb */ color: rgb(45, 96, 16);
/* oklch */ color: oklch(43.7% 0.122 137.0);
Tailwind
colors: {
  custom: {
    50: '#6c8e56',
    500: '#2d6010',
    950: '#000000',
  },
}
SCSS
$custom: #2d6010;
$custom-light: #6c8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6010",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 98.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43686,
    "c": 0.12158,
    "h": 137
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#2D6010
secondary
#743399
accent
#3AEEAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6010

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

Preview Lab → · Contrast checker → · Palette generator →

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