#7C9D1B#7C9D1B

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

Color values

HEX#7C9D1B
RGBrgb(124, 157, 27)
HSLhsl(75, 71%, 36%)
HSVhsv(75, 83%, 62%)
CMYKcmyk(21%, 0%, 82.8%, 38.4%)
CIE-LABlab(60.32, -28.78, 57.88)
CIE-LCHlch(60.32, 64.64, 116.44°)
OKLaboklab(64.82% -0.0845 0.1261)
OKLCHoklch(64.82% 0.152 123.8)
XYZxyz(20.5672, 28.4780, 5.4499)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9D1B #3C1B9D
analogous
#9D7D1B #7C9D1B #3B9D1B
triadic
#7C9D1B #1B7C9D #9D1B7C
tetradic
#7C9D1B #1B9D7D #3C1B9D #9D1B3B
square
#7C9D1B #1B9D7D #3C1B9D #9D1B3B
split-complementary
#7C9D1B #1B3B9D #7D1B9D
monochromatic
#2A3509 #536912 #7C9D1B #A5D124 #BDE151

Accessibility & contrast

On white

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

On black

6.70
#7C9D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9D1B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9D1B#FFFFFF#000000##000000
##7C9D1B1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9d1b;
/* rgb */ color: rgb(124, 157, 27);
/* oklch */ color: oklch(64.8% 0.152 123.8);
Tailwind
colors: {
  custom: {
    50: '#a6ba65',
    500: '#7c9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7c9d1b;
$custom-light: #a6ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9d1b",
  "rgb": {
    "r": 124,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 75.231,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64816,
    "c": 0.15182,
    "h": 123.8
  },
  "luminance": 0.28478
}

Semantic roles & 50–950 ramp

primary
#7C9D1B
secondary
#6D50C4
accent
#3AED68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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