#2D6210#2D6210

#2D6210 is a dark, vivid yellow-green. Relative luminance 0.093; OKLCH L 44.3% C 0.124 H 137.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2D6210
RGBrgb(45, 98, 16)
HSLhsl(99, 72%, 22%)
HSVhsv(99, 84%, 38%)
CMYKcmyk(54.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.61, -32.88, 37.95)
CIE-LCHlch(36.61, 50.21, 130.90°)
OKLaboklab(44.27% -0.0912 0.0843)
OKLCHoklch(44.27% 0.124 137.3)
XYZxyz(5.5432, 9.3303, 1.9989)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6210 #451062
analogous
#566210 #2D6210 #10621C
triadic
#2D6210 #102D62 #62102D
tetradic
#2D6210 #105662 #451062 #621C10
square
#2D6210 #105662 #451062 #621C10
split-complementary
#2D6210 #1C1062 #621056
monochromatic
#0C1A04 #152D07 #2D6210 #459719 #5DCB21

Accessibility & contrast

On white

7.33
#2D6210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D6210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6210
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6210#FFFFFF#000000##FFFFFF
##2D62101.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5F5419
Tritanopia (blue-blind)
#295E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6210;
/* rgb */ color: rgb(45, 98, 16);
/* oklch */ color: oklch(44.3% 0.124 137.3);
Tailwind
colors: {
  custom: {
    50: '#6c8f56',
    500: '#2d6210',
    950: '#000000',
  },
}
SCSS
$custom: #2d6210;
$custom-light: #6c8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6210",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 98.78,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.12422,
    "h": 137.3
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#2D6210
secondary
#76339B
accent
#39EFAE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6210

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

Preview Lab → · Contrast checker → · Palette generator →

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