#7B951C#7B951C

#7B951C is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.142 H 121.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7B951C
RGBrgb(123, 149, 28)
HSLhsl(73, 68%, 35%)
HSVhsv(73, 81%, 58%)
CMYKcmyk(17.4%, 0%, 81.2%, 41.6%)
CIE-LABlab(57.84, -25.27, 55.36)
CIE-LCHlch(57.84, 60.85, 114.53°)
OKLaboklab(62.79% -0.0748 0.121)
OKLCHoklch(62.79% 0.142 121.7)
XYZxyz(19.1258, 25.7897, 5.0687)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B951C #361C95
analogous
#95731C #7B951C #3E951C
triadic
#7B951C #1C7B95 #951C7B
tetradic
#7B951C #1C9573 #361C95 #951C3E
square
#7B951C #1C9573 #361C95 #951C3E
split-complementary
#7B951C #1C3E95 #731C95
monochromatic
#262E09 #506112 #7B951C #A6C926 #BFDE4E

Accessibility & contrast

On white

3.41
#7B951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7B951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B951C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B951C#FFFFFF#000000##000000
##7B951C1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b951c;
/* rgb */ color: rgb(123, 149, 28);
/* oklch */ color: oklch(62.8% 0.142 121.7);
Tailwind
colors: {
  custom: {
    50: '#a5b464',
    500: '#7b951c',
    950: '#000000',
  },
}
SCSS
$custom: #7b951c;
$custom-light: #a5b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7b951c",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 72.893,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.14224,
    "h": 121.7
  },
  "luminance": 0.2579
}

Semantic roles & 50–950 ramp

primary
#7B951C
secondary
#654DC0
accent
#3DEB62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B951C

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

Preview Lab → · Contrast checker → · Palette generator →

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