#7B9D1C#7B9D1C

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

Color values

HEX#7B9D1C
RGBrgb(123, 157, 28)
HSLhsl(76, 70%, 36%)
HSVhsv(76, 82%, 62%)
CMYKcmyk(21.7%, 0%, 82.2%, 38.4%)
CIE-LABlab(60.26, -29.15, 57.52)
CIE-LCHlch(60.26, 64.49, 116.88°)
OKLaboklab(64.75% -0.0854 0.1256)
OKLCHoklch(64.75% 0.152 124.2)
XYZxyz(20.4352, 28.4085, 5.5052)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D1C #3E1C9D
analogous
#9D7F1C #7B9D1C #3B9D1C
triadic
#7B9D1C #1C7B9D #9D1C7B
tetradic
#7B9D1C #1C9D7F #3E1C9D #9D1C3B
square
#7B9D1C #1C9D7F #3E1C9D #9D1C3B
split-complementary
#7B9D1C #1C3B9D #7F1C9D
monochromatic
#2A3509 #526913 #7B9D1C #A4D125 #BBE053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9D1C#FFFFFF#000000##000000
##7B9D1C1.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: #7b9d1c;
/* rgb */ color: rgb(123, 157, 28);
/* oklch */ color: oklch(64.8% 0.152 124.2);
Tailwind
colors: {
  custom: {
    50: '#a5ba65',
    500: '#7b9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d1c;
$custom-light: #a5ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d1c",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 75.814,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6475,
    "c": 0.15186,
    "h": 124.2
  },
  "luminance": 0.28409
}

Semantic roles & 50–950 ramp

primary
#7B9D1C
secondary
#6F51C3
accent
#3BED6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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