#7A991C#7A991C

#7A991C is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.7% C 0.148 H 123.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7A991C
RGBrgb(122, 153, 28)
HSLhsl(75, 69%, 35%)
HSVhsv(75, 82%, 60%)
CMYKcmyk(20.3%, 0%, 81.7%, 40%)
CIE-LABlab(58.98, -27.64, 56.36)
CIE-LCHlch(58.98, 62.77, 116.13°)
OKLaboklab(63.7% -0.0812 0.1231)
OKLCHoklch(63.7% 0.148 123.4)
XYZxyz(19.6271, 27.0037, 5.2766)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A991C #3B1C99
analogous
#99791C #7A991C #3B991C
triadic
#7A991C #1C7A99 #991C7A
tetradic
#7A991C #1C9979 #3B1C99 #991C3B
square
#7A991C #1C9979 #3B1C99 #991C3B
split-complementary
#7A991C #1C3B99 #791C99
monochromatic
#273209 #516513 #7A991C #A3CD25 #BCDF50

Accessibility & contrast

On white

3.28
#7A991C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7A991C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A991C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A991C#FFFFFF#000000##000000
##7A991C1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9E8E29
Tritanopia (blue-blind)
#819182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7a991c;
/* rgb */ color: rgb(122, 153, 28);
/* oklch */ color: oklch(63.7% 0.148 123.4);
Tailwind
colors: {
  custom: {
    50: '#a4b765',
    500: '#7a991c',
    950: '#000000',
  },
}
SCSS
$custom: #7a991c;
$custom-light: #a4b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7a991c",
  "rgb": {
    "r": 122,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 74.88,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63698,
    "c": 0.14752,
    "h": 123.4
  },
  "luminance": 0.27004
}

Semantic roles & 50–950 ramp

primary
#7A991C
secondary
#6C4FC2
accent
#3CEC68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A991C

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

Preview Lab → · Contrast checker → · Palette generator →

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