#7B951D#7B951D

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

Color values

HEX#7B951D
RGBrgb(123, 149, 29)
HSLhsl(73, 67%, 35%)
HSVhsv(73, 81%, 58%)
CMYKcmyk(17.4%, 0%, 80.5%, 41.6%)
CIE-LABlab(57.84, -25.22, 55.06)
CIE-LCHlch(57.84, 60.57, 114.61°)
OKLaboklab(62.8% -0.0746 0.1205)
OKLCHoklch(62.8% 0.142 121.8)
XYZxyz(19.1379, 25.7945, 5.1328)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B951D #371D95
analogous
#95731D #7B951D #3F951D
triadic
#7B951D #1D7B95 #951D7B
tetradic
#7B951D #1D9573 #371D95 #951D3F
square
#7B951D #1D9573 #371D95 #951D3F
split-complementary
#7B951D #1D3F95 #731D95
monochromatic
#262F09 #516213 #7B951D #A5C827 #BEDD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B951D#FFFFFF#000000##000000
##7B951D1.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: #7b951d;
/* rgb */ color: rgb(123, 149, 29);
/* oklch */ color: oklch(62.8% 0.142 121.8);
Tailwind
colors: {
  custom: {
    50: '#a5b465',
    500: '#7b951d',
    950: '#000000',
  },
}
SCSS
$custom: #7b951d;
$custom-light: #a5b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7b951d",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 73,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62799,
    "c": 0.14175,
    "h": 121.8
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#7B951D
secondary
#674EC0
accent
#3DEA63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B951D

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

Preview Lab → · Contrast checker → · Palette generator →

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