#2D6610#2D6610

#2D6610 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.4% C 0.129 H 137.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2D6610
RGBrgb(45, 102, 16)
HSLhsl(100, 73%, 23%)
HSVhsv(100, 84%, 40%)
CMYKcmyk(55.9%, 0%, 84.3%, 60%)
CIE-LABlab(38.02, -34.56, 39.27)
CIE-LCHlch(38.02, 52.31, 131.35°)
OKLaboklab(45.42% -0.0958 0.0871)
OKLCHoklch(45.42% 0.129 137.7)
XYZxyz(5.9269, 10.0976, 2.1268)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6610 #491066
analogous
#586610 #2D6610 #10661E
triadic
#2D6610 #102D66 #66102D
tetradic
#2D6610 #105866 #491066 #661E10
square
#2D6610 #105866 #491066 #661E10
split-complementary
#2D6610 #1E1066 #661058
monochromatic
#0C1A04 #163108 #2D6610 #449B18 #5CD021

Accessibility & contrast

On white

6.95
#2D6610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D6610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6610
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6610#FFFFFF#000000##FFFFFF
##2D66101.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#296256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d6610;
/* rgb */ color: rgb(45, 102, 16);
/* oklch */ color: oklch(45.4% 0.129 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d9257',
    500: '#2d6610',
    950: '#000000',
  },
}
SCSS
$custom: #2d6610;
$custom-light: #6d9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6610",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 99.767,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.12941,
    "h": 137.7
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#2D6610
secondary
#7A339E
accent
#38F0B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2D6610

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

Preview Lab → · Contrast checker → · Palette generator →

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