#7A951B#7A951B

#7A951B is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.143 H 122.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A951B
RGBrgb(122, 149, 27)
HSLhsl(73, 69%, 35%)
HSVhsv(73, 82%, 58%)
CMYKcmyk(18.1%, 0%, 81.9%, 41.6%)
CIE-LABlab(57.76, -25.73, 55.56)
CIE-LCHlch(57.76, 61.23, 114.85°)
OKLaboklab(62.71% -0.0761 0.1213)
OKLCHoklch(62.71% 0.143 122.1)
XYZxyz(18.9716, 25.7116, 5.0001)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A951B #361B95
analogous
#95731B #7A951B #3D951B
triadic
#7A951B #1B7A95 #951B7A
tetradic
#7A951B #1B9573 #361B95 #951B3D
square
#7A951B #1B9573 #361B95 #951B3D
split-complementary
#7A951B #1B3D95 #731B95
monochromatic
#252D08 #506112 #7A951B #A4C924 #BEDF4C

Accessibility & contrast

On white

3.42
#7A951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7A951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A951B
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A951B#FFFFFF#000000##000000
##7A951B1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#818D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a951b;
/* rgb */ color: rgb(122, 149, 27);
/* oklch */ color: oklch(62.7% 0.143 122.1);
Tailwind
colors: {
  custom: {
    50: '#a4b464',
    500: '#7a951b',
    950: '#000000',
  },
}
SCSS
$custom: #7a951b;
$custom-light: #a4b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7a951b",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 73.279,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62714,
    "c": 0.14316,
    "h": 122.1
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#7A951B
secondary
#654BC1
accent
#3CEC63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A951B

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

Preview Lab → · Contrast checker → · Palette generator →

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