#7C9617#7C9617

#7C9617 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.1% C 0.145 H 121.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7C9617
RGBrgb(124, 150, 23)
HSLhsl(72, 73%, 34%)
HSVhsv(72, 85%, 59%)
CMYKcmyk(17.3%, 0%, 84.7%, 41.2%)
CIE-LABlab(58.19, -25.52, 57.07)
CIE-LCHlch(58.19, 62.51, 114.09°)
OKLaboklab(63.09% -0.0759 0.1238)
OKLCHoklch(63.09% 0.145 121.5)
XYZxyz(19.3735, 26.1596, 4.8391)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9617 #311796
analogous
#967117 #7C9617 #3D9617
triadic
#7C9617 #177C96 #96177C
tetradic
#7C9617 #179671 #311796 #96173D
square
#7C9617 #179671 #311796 #96173D
split-complementary
#7C9617 #173D96 #711796
monochromatic
#242C07 #50610F #7C9617 #A8CB1F #C2E245

Accessibility & contrast

On white

3.37
#7C9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7C9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9617
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9617#FFFFFF#000000##000000
##7C96171.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08C00
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#838E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c9617;
/* rgb */ color: rgb(124, 150, 23);
/* oklch */ color: oklch(63.1% 0.145 121.5);
Tailwind
colors: {
  custom: {
    50: '#a6b462',
    500: '#7c9617',
    950: '#000000',
  },
}
SCSS
$custom: #7c9617;
$custom-light: #a6b462;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9617",
  "rgb": {
    "r": 124,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 72.283,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63089,
    "c": 0.14517,
    "h": 121.5
  },
  "luminance": 0.2616
}

Semantic roles & 50–950 ramp

primary
#7C9617
secondary
#5F45C3
accent
#38F05D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9617

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

Preview Lab → · Contrast checker → · Palette generator →

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