#7A951C#7A951C

#7A951C 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#7A951C
RGBrgb(122, 149, 28)
HSLhsl(73, 68%, 35%)
HSVhsv(73, 81%, 58%)
CMYKcmyk(18.1%, 0%, 81.2%, 41.6%)
CIE-LABlab(57.77, -25.69, 55.27)
CIE-LCHlch(57.77, 60.95, 114.93°)
OKLaboklab(62.72% -0.0759 0.1208)
OKLCHoklch(62.72% 0.143 122.1)
XYZxyz(18.9834, 25.7163, 5.0620)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A951C #371C95
analogous
#95731C #7A951C #3E951C
triadic
#7A951C #1C7A95 #951C7A
tetradic
#7A951C #1C9573 #371C95 #951C3E
square
#7A951C #1C9573 #371C95 #951C3E
split-complementary
#7A951C #1C3E95 #731C95
monochromatic
#262E09 #506112 #7A951C #A4C926 #BEDE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A951C#FFFFFF#000000##000000
##7A951C1.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)
#9B8B29
Tritanopia (blue-blind)
#818D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a951c;
/* rgb */ color: rgb(122, 149, 28);
/* oklch */ color: oklch(62.7% 0.143 122.1);
Tailwind
colors: {
  custom: {
    50: '#a4b464',
    500: '#7a951c',
    950: '#000000',
  },
}
SCSS
$custom: #7a951c;
$custom-light: #a4b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7a951c",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 73.388,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62719,
    "c": 0.1427,
    "h": 122.1
  },
  "luminance": 0.25716
}

Semantic roles & 50–950 ramp

primary
#7A951C
secondary
#664DC0
accent
#3DEB64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A951C

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

Preview Lab → · Contrast checker → · Palette generator →

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