#7A9B1F#7A9B1F

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

Color values

HEX#7A9B1F
RGBrgb(122, 155, 31)
HSLhsl(76, 67%, 36%)
HSVhsv(76, 80%, 61%)
CMYKcmyk(21.3%, 0%, 80%, 39.2%)
CIE-LABlab(59.60, -28.48, 56.03)
CIE-LCHlch(59.60, 62.85, 116.95°)
OKLaboklab(64.2% -0.0833 0.123)
OKLCHoklch(64.2% 0.149 124.1)
XYZxyz(19.9949, 27.6790, 5.5852)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9B1F #401F9B
analogous
#9B7E1F #7A9B1F #3C9B1F
triadic
#7A9B1F #1F7A9B #9B1F7A
tetradic
#7A9B1F #1F9B7E #401F9B #9B1F3C
square
#7A9B1F #1F9B7E #401F9B #9B1F3C
split-complementary
#7A9B1F #1F3C9B #7E1F9B
monochromatic
#2A350B #526815 #7A9B1F #A2CE29 #BADD57

Accessibility & contrast

On white

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

On black

6.54
#7A9B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9B1F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9B1F#FFFFFF#000000##000000
##7A9B1F1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#809384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a9b1f;
/* rgb */ color: rgb(122, 155, 31);
/* oklch */ color: oklch(64.2% 0.149 124.1);
Tailwind
colors: {
  custom: {
    50: '#a4b866',
    500: '#7a9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a9b1f;
$custom-light: #a4b866;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9b1f",
  "rgb": {
    "r": 122,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 75.968,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64204,
    "c": 0.14851,
    "h": 124.1
  },
  "luminance": 0.27679
}

Semantic roles & 50–950 ramp

primary
#7A9B1F
secondary
#7255C1
accent
#3EEA6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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