#7A9B1C#7A9B1C

#7A9B1C is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.2% C 0.150 H 124.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7A9B1C
RGBrgb(122, 155, 28)
HSLhsl(76, 69%, 36%)
HSVhsv(76, 82%, 61%)
CMYKcmyk(21.3%, 0%, 81.9%, 39.2%)
CIE-LABlab(59.58, -28.61, 56.90)
CIE-LCHlch(59.58, 63.68, 116.69°)
OKLaboklab(64.19% -0.0839 0.1243)
OKLCHoklch(64.19% 0.15 124)
XYZxyz(19.9572, 27.6639, 5.3866)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9B1C #3D1C9B
analogous
#9B7C1C #7A9B1C #3A9B1C
triadic
#7A9B1C #1C7A9B #9B1C7A
tetradic
#7A9B1C #1C9B7C #3D1C9B #9B1C3A
square
#7A9B1C #1C9B7C #3D1C9B #9B1C3A
split-complementary
#7A9B1C #1C3A9B #7C1C9B
monochromatic
#283309 #516713 #7A9B1C #A3CF25 #BBE052

Accessibility & contrast

On white

3.21
#7A9B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7A9B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9B1C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9B1C#FFFFFF#000000##000000
##7A9B1C1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#809384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7a9b1c;
/* rgb */ color: rgb(122, 155, 28);
/* oklch */ color: oklch(64.2% 0.150 124.0);
Tailwind
colors: {
  custom: {
    50: '#a4b865',
    500: '#7a9b1c',
    950: '#000000',
  },
}
SCSS
$custom: #7a9b1c;
$custom-light: #a4b865;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9b1c",
  "rgb": {
    "r": 122,
    "g": 155,
    "b": 28
  },
  "hsl": {
    "h": 75.591,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64189,
    "c": 0.14993,
    "h": 124
  },
  "luminance": 0.27664
}

Semantic roles & 50–950 ramp

primary
#7A9B1C
secondary
#6E50C3
accent
#3CEC69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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