#7C9417#7C9417

#7C9417 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.6% C 0.143 H 120.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7C9417
RGBrgb(124, 148, 23)
HSLhsl(72, 73%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(16.2%, 0%, 84.5%, 42%)
CIE-LABlab(57.59, -24.53, 56.55)
CIE-LCHlch(57.59, 61.64, 113.45°)
OKLaboklab(62.6% -0.0732 0.1226)
OKLCHoklch(62.6% 0.143 120.8)
XYZxyz(19.0571, 25.5268, 4.7337)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9417 #2F1794
analogous
#946D17 #7C9417 #3D9417
triadic
#7C9417 #177C94 #94177C
tetradic
#7C9417 #17946D #2F1794 #94173D
square
#7C9417 #17946D #2F1794 #94173D
split-complementary
#7C9417 #173D94 #6D1794
monochromatic
#232A07 #505F0F #7C9417 #A8C91F #C3E244

Accessibility & contrast

On white

3.44
#7C9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7C9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9417
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9417#FFFFFF#000000##000000
##7C94171.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8A25
Tritanopia (blue-blind)
#838C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9417;
/* rgb */ color: rgb(124, 148, 23);
/* oklch */ color: oklch(62.6% 0.143 120.8);
Tailwind
colors: {
  custom: {
    50: '#a6b362',
    500: '#7c9417',
    950: '#000000',
  },
}
SCSS
$custom: #7c9417;
$custom-light: #a6b362;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9417",
  "rgb": {
    "r": 124,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 71.52,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62602,
    "c": 0.14281,
    "h": 120.8
  },
  "luminance": 0.25527
}

Semantic roles & 50–950 ramp

primary
#7C9417
secondary
#5C44C3
accent
#38F05B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9417

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

Preview Lab → · Contrast checker → · Palette generator →

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