#7B9D1D#7B9D1D

#7B9D1D is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.151 H 124.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7B9D1D
RGBrgb(123, 157, 29)
HSLhsl(76, 69%, 36%)
HSVhsv(76, 82%, 62%)
CMYKcmyk(21.7%, 0%, 81.5%, 38.4%)
CIE-LABlab(60.26, -29.11, 57.24)
CIE-LCHlch(60.26, 64.22, 116.96°)
OKLaboklab(64.76% -0.0852 0.1252)
OKLCHoklch(64.76% 0.151 124.3)
XYZxyz(20.4474, 28.4134, 5.5693)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D1D #3F1D9D
analogous
#9D7F1D #7B9D1D #3B9D1D
triadic
#7B9D1D #1D7B9D #9D1D7B
tetradic
#7B9D1D #1D9D7F #3F1D9D #9D1D3B
square
#7B9D1D #1D9D7F #3F1D9D #9D1D3B
split-complementary
#7B9D1D #1D3B9D #7F1D9D
monochromatic
#2A360A #536913 #7B9D1D #A3D127 #BBE055

Accessibility & contrast

On white

3.14
#7B9D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7B9D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9D1D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9D1D#FFFFFF#000000##000000
##7B9D1D1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#819586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9d1d;
/* rgb */ color: rgb(123, 157, 29);
/* oklch */ color: oklch(64.8% 0.151 124.3);
Tailwind
colors: {
  custom: {
    50: '#a5ba66',
    500: '#7b9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d1d;
$custom-light: #a5ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d1d",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 75.938,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.15142,
    "h": 124.3
  },
  "luminance": 0.28414
}

Semantic roles & 50–950 ramp

primary
#7B9D1D
secondary
#7153C3
accent
#3CEC6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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