#7A9D1C#7A9D1C

#7A9D1C is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.152 H 124.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7A9D1C
RGBrgb(122, 157, 28)
HSLhsl(76, 70%, 36%)
HSVhsv(76, 82%, 62%)
CMYKcmyk(22.3%, 0%, 82.2%, 38.4%)
CIE-LABlab(60.19, -29.57, 57.44)
CIE-LCHlch(60.19, 64.60, 117.24°)
OKLaboklab(64.68% -0.0865 0.1254)
OKLCHoklch(64.68% 0.152 124.6)
XYZxyz(20.2928, 28.3351, 5.4985)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D1C #3F1C9D
analogous
#9D801C #7A9D1C #3A9D1C
triadic
#7A9D1C #1C7A9D #9D1C7A
tetradic
#7A9D1C #1C9D80 #3F1C9D #9D1C3A
square
#7A9D1C #1C9D80 #3F1C9D #9D1C3A
split-complementary
#7A9D1C #1C3A9D #801C9D
monochromatic
#293509 #526913 #7A9D1C #A2D125 #BAE053

Accessibility & contrast

On white

3.15
#7A9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7A9D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9D1C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9D1C#FFFFFF#000000##000000
##7A9D1C1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#809586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d1c;
/* rgb */ color: rgb(122, 157, 28);
/* oklch */ color: oklch(64.7% 0.152 124.6);
Tailwind
colors: {
  custom: {
    50: '#a4ba65',
    500: '#7a9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d1c;
$custom-light: #a4ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d1c",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 76.279,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.15235,
    "h": 124.6
  },
  "luminance": 0.28335
}

Semantic roles & 50–950 ramp

primary
#7A9D1C
secondary
#7051C3
accent
#3BED6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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