#2D660D#2D660D

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

Color values

HEX#2D660D
RGBrgb(45, 102, 13)
HSLhsl(98, 77%, 23%)
HSVhsv(98, 87%, 40%)
CMYKcmyk(55.9%, 0%, 87.3%, 60%)
CIE-LABlab(38.00, -34.73, 40.19)
CIE-LCHlch(38.00, 53.11, 130.83°)
OKLaboklab(45.41% -0.0964 0.0885)
OKLCHoklch(45.41% 0.131 137.4)
XYZxyz(5.9060, 10.0892, 2.0169)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D660D #460D66
analogous
#59660D #2D660D #0D661A
triadic
#2D660D #0D2D66 #660D2D
tetradic
#2D660D #0D5966 #460D66 #661A0D
square
#2D660D #0D5966 #460D66 #661A0D
split-complementary
#2D660D #1A0D66 #660D59
monochromatic
#0C1B03 #153006 #2D660D #459C14 #5DD31B

Accessibility & contrast

On white

6.96
#2D660D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D660D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D660D#FFFFFF#000000##FFFFFF
##2D660D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d660d;
/* rgb */ color: rgb(45, 102, 13);
/* oklch */ color: oklch(45.4% 0.131 137.4);
Tailwind
colors: {
  custom: {
    50: '#6d9255',
    500: '#2d660d',
    950: '#000000',
  },
}
SCSS
$custom: #2d660d;
$custom-light: #6d9255;
$custom-dark: #000000;
JSON
{
  "hex": "#2d660d",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 13
  },
  "hsl": {
    "h": 98.427,
    "s": 77.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45405,
    "c": 0.13085,
    "h": 137.4
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#2D660D
secondary
#772F9F
accent
#34F4AF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2D660D

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

Preview Lab → · Contrast checker → · Palette generator →

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