#7C9F1B#7C9F1B

#7C9F1B is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.3% C 0.154 H 124.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7C9F1B
RGBrgb(124, 159, 27)
HSLhsl(76, 71%, 36%)
HSVhsv(76, 83%, 62%)
CMYKcmyk(22%, 0%, 83%, 37.6%)
CIE-LABlab(60.92, -29.73, 58.41)
CIE-LCHlch(60.92, 65.54, 116.98°)
OKLaboklab(65.31% -0.0871 0.1273)
OKLCHoklch(65.31% 0.154 124.4)
XYZxyz(20.9084, 29.1603, 5.5637)
Luminance0.2916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9F1B #3E1B9F
analogous
#9F801B #7C9F1B #3A9F1B
triadic
#7C9F1B #1B7C9F #9F1B7C
tetradic
#7C9F1B #1B9F80 #3E1B9F #9F1B3A
square
#7C9F1B #1B9F80 #3E1B9F #9F1B3A
split-complementary
#7C9F1B #1B3A9F #801B9F
monochromatic
#2A3609 #536B12 #7C9F1B #A5D324 #BCE253

Accessibility & contrast

On white

3.07
#7C9F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#7C9F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9F1B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9F1B#FFFFFF#000000##000000
##7C9F1B1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9f1b;
/* rgb */ color: rgb(124, 159, 27);
/* oklch */ color: oklch(65.3% 0.154 124.4);
Tailwind
colors: {
  custom: {
    50: '#a6bb65',
    500: '#7c9f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7c9f1b;
$custom-light: #a6bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9f1b",
  "rgb": {
    "r": 124,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 75.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65306,
    "c": 0.15422,
    "h": 124.4
  },
  "luminance": 0.2916
}

Semantic roles & 50–950 ramp

primary
#7C9F1B
secondary
#7051C5
accent
#3AEE6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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