#7B951B#7B951B

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

Color values

HEX#7B951B
RGBrgb(123, 149, 27)
HSLhsl(73, 69%, 35%)
HSVhsv(73, 82%, 58%)
CMYKcmyk(17.4%, 0%, 81.9%, 41.6%)
CIE-LABlab(57.83, -25.31, 55.65)
CIE-LCHlch(57.83, 61.13, 114.45°)
OKLaboklab(62.79% -0.075 0.1214)
OKLCHoklch(62.79% 0.143 121.7)
XYZxyz(19.1140, 25.7850, 5.0067)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B951B #351B95
analogous
#95721B #7B951B #3E951B
triadic
#7B951B #1B7B95 #951B7B
tetradic
#7B951B #1B9572 #351B95 #951B3E
square
#7B951B #1B9572 #351B95 #951B3E
split-complementary
#7B951B #1B3E95 #721B95
monochromatic
#252D08 #506112 #7B951B #A6C924 #BFDF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B951B#FFFFFF#000000##000000
##7B951B1.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)
#9B8B28
Tritanopia (blue-blind)
#828D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b951b;
/* rgb */ color: rgb(123, 149, 27);
/* oklch */ color: oklch(62.8% 0.143 121.7);
Tailwind
colors: {
  custom: {
    50: '#a5b464',
    500: '#7b951b',
    950: '#000000',
  },
}
SCSS
$custom: #7b951b;
$custom-light: #a5b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7b951b",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 72.787,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.14271,
    "h": 121.7
  },
  "luminance": 0.25785
}

Semantic roles & 50–950 ramp

primary
#7B951B
secondary
#644BC1
accent
#3CEC61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B951B

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

Preview Lab → · Contrast checker → · Palette generator →

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