#7D9F1C#7D9F1C

#7D9F1C is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.4% C 0.153 H 124.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7D9F1C
RGBrgb(125, 159, 28)
HSLhsl(76, 70%, 37%)
HSVhsv(76, 82%, 62%)
CMYKcmyk(21.4%, 0%, 82.4%, 37.6%)
CIE-LABlab(60.99, -29.28, 58.23)
CIE-LCHlch(60.99, 65.17, 116.70°)
OKLaboklab(65.38% -0.0858 0.127)
OKLCHoklch(65.38% 0.153 124.1)
XYZxyz(21.0654, 29.2399, 5.6324)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9F1C #3E1C9F
analogous
#9F801C #7D9F1C #3B9F1C
triadic
#7D9F1C #1C7D9F #9F1C7D
tetradic
#7D9F1C #1C9F80 #3E1C9F #9F1C3B
square
#7D9F1C #1C9F80 #3E1C9F #9F1C3B
split-complementary
#7D9F1C #1C3B9F #801C9F
monochromatic
#2B370A #546B13 #7D9F1C #A6D325 #BCE154

Accessibility & contrast

On white

3.07
#7D9F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#7D9F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9F1C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9F1C#FFFFFF#000000##000000
##7D9F1C1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#839787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9f1c;
/* rgb */ color: rgb(125, 159, 28);
/* oklch */ color: oklch(65.4% 0.153 124.1);
Tailwind
colors: {
  custom: {
    50: '#a7bb66',
    500: '#7d9f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7d9f1c;
$custom-light: #a7bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9f1c",
  "rgb": {
    "r": 125,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 75.573,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65381,
    "c": 0.15331,
    "h": 124.1
  },
  "luminance": 0.2924
}

Semantic roles & 50–950 ramp

primary
#7D9F1C
secondary
#7053C4
accent
#3BED69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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