#7D951B#7D951B

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

Color values

HEX#7D951B
RGBrgb(125, 149, 27)
HSLhsl(72, 69%, 35%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(16.1%, 0%, 81.9%, 41.6%)
CIE-LABlab(57.97, -24.45, 55.83)
CIE-LCHlch(57.97, 60.94, 113.65°)
OKLaboklab(62.94% -0.0727 0.1217)
OKLCHoklch(62.94% 0.142 120.9)
XYZxyz(19.4031, 25.9340, 5.0203)
Luminance0.2593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D951B #331B95
analogous
#95701B #7D951B #40951B
triadic
#7D951B #1B7D95 #951B7D
tetradic
#7D951B #1B9570 #331B95 #951B40
square
#7D951B #1B9570 #331B95 #951B40
split-complementary
#7D951B #1B4095 #701B95
monochromatic
#262D08 #526112 #7D951B #A8C924 #C2DF4C

Accessibility & contrast

On white

3.39
#7D951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7D951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D951B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D951B#FFFFFF#000000##000000
##7D951B1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d951b;
/* rgb */ color: rgb(125, 149, 27);
/* oklch */ color: oklch(62.9% 0.142 120.9);
Tailwind
colors: {
  custom: {
    50: '#a6b464',
    500: '#7d951b',
    950: '#000000',
  },
}
SCSS
$custom: #7d951b;
$custom-light: #a6b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7d951b",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 71.803,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62939,
    "c": 0.14182,
    "h": 120.9
  },
  "luminance": 0.25934
}

Semantic roles & 50–950 ramp

primary
#7D951B
secondary
#624BC1
accent
#3CEC5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D951B

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

Preview Lab → · Contrast checker → · Palette generator →

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