#7B9D1B#7B9D1B

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

Color values

HEX#7B9D1B
RGBrgb(123, 157, 27)
HSLhsl(76, 71%, 36%)
HSVhsv(76, 83%, 62%)
CMYKcmyk(21.7%, 0%, 82.8%, 38.4%)
CIE-LABlab(60.25, -29.19, 57.79)
CIE-LCHlch(60.25, 64.75, 116.80°)
OKLaboklab(64.75% -0.0856 0.126)
OKLCHoklch(64.75% 0.152 124.2)
XYZxyz(20.4234, 28.4038, 5.4432)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D1B #3D1B9D
analogous
#9D7E1B #7B9D1B #3A9D1B
triadic
#7B9D1B #1B7B9D #9D1B7B
tetradic
#7B9D1B #1B9D7E #3D1B9D #9D1B3A
square
#7B9D1B #1B9D7E #3D1B9D #9D1B3A
split-complementary
#7B9D1B #1B3A9D #7E1B9D
monochromatic
#293509 #526912 #7B9D1B #A4D124 #BCE151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9D1B#FFFFFF#000000##000000
##7B9D1B1.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)
#A2912A
Tritanopia (blue-blind)
#819586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9d1b;
/* rgb */ color: rgb(123, 157, 27);
/* oklch */ color: oklch(64.7% 0.152 124.2);
Tailwind
colors: {
  custom: {
    50: '#a5ba65',
    500: '#7b9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d1b;
$custom-light: #a5ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d1b",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 75.692,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.15231,
    "h": 124.2
  },
  "luminance": 0.28404
}

Semantic roles & 50–950 ramp

primary
#7B9D1B
secondary
#6E50C4
accent
#3AED69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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