#7D9D1C#7D9D1C

#7D9D1C is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.151 H 123.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7D9D1C
RGBrgb(125, 157, 28)
HSLhsl(75, 70%, 36%)
HSVhsv(75, 82%, 62%)
CMYKcmyk(20.4%, 0%, 82.2%, 38.4%)
CIE-LABlab(60.39, -28.32, 57.69)
CIE-LCHlch(60.39, 64.27, 116.15°)
OKLaboklab(64.89% -0.0832 0.1259)
OKLCHoklch(64.89% 0.151 123.5)
XYZxyz(20.7243, 28.5576, 5.5187)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D1C #3C1C9D
analogous
#9D7D1C #7D9D1C #3D9D1C
triadic
#7D9D1C #1C7D9D #9D1C7D
tetradic
#7D9D1C #1C9D7D #3C1C9D #9D1C3D
square
#7D9D1C #1C9D7D #3C1C9D #9D1C3D
split-complementary
#7D9D1C #1C3D9D #7D1C9D
monochromatic
#2A3509 #546913 #7D9D1C #A6D125 #BDE053

Accessibility & contrast

On white

3.13
#7D9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7D9D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D1C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D1C#FFFFFF#000000##000000
##7D9D1C1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#849586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d1c;
/* rgb */ color: rgb(125, 157, 28);
/* oklch */ color: oklch(64.9% 0.151 123.5);
Tailwind
colors: {
  custom: {
    50: '#a6ba65',
    500: '#7d9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d1c;
$custom-light: #a6ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d1c",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 74.884,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.15091,
    "h": 123.5
  },
  "luminance": 0.28558
}

Semantic roles & 50–950 ramp

primary
#7D9D1C
secondary
#6E51C3
accent
#3BED67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

#7D9D1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva