#7B9F1C#7B9F1C

#7B9F1C is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.2% C 0.154 H 124.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7B9F1C
RGBrgb(123, 159, 28)
HSLhsl(76, 70%, 37%)
HSVhsv(76, 82%, 62%)
CMYKcmyk(22.6%, 0%, 82.4%, 37.6%)
CIE-LABlab(60.86, -30.11, 58.06)
CIE-LCHlch(60.86, 65.40, 117.41°)
OKLaboklab(65.24% -0.088 0.1267)
OKLCHoklch(65.24% 0.154 124.8)
XYZxyz(20.7763, 29.0908, 5.6189)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9F1C #401C9F
analogous
#9F821C #7B9F1C #399F1C
triadic
#7B9F1C #1C7B9F #9F1C7B
tetradic
#7B9F1C #1C9F82 #401C9F #9F1C39
square
#7B9F1C #1C9F82 #401C9F #9F1C39
split-complementary
#7B9F1C #1C399F #821C9F
monochromatic
#2A370A #536B13 #7B9F1C #A3D325 #BAE154

Accessibility & contrast

On white

3.08
#7B9F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7B9F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9F1C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9F1C#FFFFFF#000000##000000
##7B9F1C1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#819787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b9f1c;
/* rgb */ color: rgb(123, 159, 28);
/* oklch */ color: oklch(65.2% 0.154 124.8);
Tailwind
colors: {
  custom: {
    50: '#a5bb66',
    500: '#7b9f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7b9f1c;
$custom-light: #a5bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9f1c",
  "rgb": {
    "r": 123,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 76.489,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65241,
    "c": 0.15428,
    "h": 124.8
  },
  "luminance": 0.29091
}

Semantic roles & 50–950 ramp

primary
#7B9F1C
secondary
#7253C4
accent
#3BED6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7B9F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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