#7C9923#7C9923

#7C9923 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.143 H 122.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7C9923
RGBrgb(124, 153, 35)
HSLhsl(75, 63%, 37%)
HSVhsv(75, 77%, 60%)
CMYKcmyk(19%, 0%, 77.1%, 40%)
CIE-LABlab(59.15, -26.49, 54.38)
CIE-LCHlch(59.15, 60.49, 115.97°)
OKLaboklab(63.88% -0.0777 0.1201)
OKLCHoklch(63.88% 0.143 122.9)
XYZxyz(20.0071, 27.1888, 5.7837)
Luminance0.2719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9923 #402399
analogous
#997B23 #7C9923 #419923
triadic
#7C9923 #237C99 #99237C
tetradic
#7C9923 #23997B #402399 #992341
square
#7C9923 #23997B #402399 #992341
split-complementary
#7C9923 #234199 #7B2399
monochromatic
#2B350C #546718 #7C9923 #A4CB2E #BBDA5D

Accessibility & contrast

On white

3.26
#7C9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#7C9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9923
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9923#FFFFFF#000000##000000
##7C99231.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F05
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#839183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c9923;
/* rgb */ color: rgb(124, 153, 35);
/* oklch */ color: oklch(63.9% 0.143 122.9);
Tailwind
colors: {
  custom: {
    50: '#a5b768',
    500: '#7c9923',
    950: '#000000',
  },
}
SCSS
$custom: #7c9923;
$custom-light: #a5b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9923",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 74.746,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.14302,
    "h": 122.9
  },
  "luminance": 0.27189
}

Semantic roles & 50–950 ramp

primary
#7C9923
secondary
#7259BE
accent
#42E66A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9923

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

Preview Lab → · Contrast checker → · Palette generator →

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