#7C951B#7C951B

#7C951B is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.142 H 121.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C951B
RGBrgb(124, 149, 27)
HSLhsl(72, 69%, 35%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(16.8%, 0%, 81.9%, 41.6%)
CIE-LABlab(57.90, -24.88, 55.73)
CIE-LCHlch(57.90, 61.03, 114.05°)
OKLaboklab(62.86% -0.0739 0.1216)
OKLCHoklch(62.86% 0.142 121.3)
XYZxyz(19.2578, 25.8591, 5.0135)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C951B #341B95
analogous
#95711B #7C951B #3F951B
triadic
#7C951B #1B7C95 #951B7C
tetradic
#7C951B #1B9571 #341B95 #951B3F
square
#7C951B #1B9571 #341B95 #951B3F
split-complementary
#7C951B #1B3F95 #711B95
monochromatic
#262D08 #516112 #7C951B #A7C924 #C0DF4C

Accessibility & contrast

On white

3.40
#7C951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7C951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C951B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C951B#FFFFFF#000000##000000
##7C951B1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8B28
Tritanopia (blue-blind)
#838D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c951b;
/* rgb */ color: rgb(124, 149, 27);
/* oklch */ color: oklch(62.9% 0.142 121.3);
Tailwind
colors: {
  custom: {
    50: '#a6b464',
    500: '#7c951b',
    950: '#000000',
  },
}
SCSS
$custom: #7c951b;
$custom-light: #a6b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7c951b",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 72.295,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62864,
    "c": 0.14226,
    "h": 121.3
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#7C951B
secondary
#634BC1
accent
#3CEC60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C951B

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

Preview Lab → · Contrast checker → · Palette generator →

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