#7C9518#7C9518

#7C9518 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.144 H 121.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C9518
RGBrgb(124, 149, 24)
HSLhsl(72, 72%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(16.8%, 0%, 83.9%, 41.6%)
CIE-LABlab(57.89, -24.99, 56.55)
CIE-LCHlch(57.89, 61.83, 113.84°)
OKLaboklab(62.85% -0.0744 0.1228)
OKLCHoklch(62.85% 0.144 121.2)
XYZxyz(19.2249, 25.8459, 4.8399)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9518 #311895
analogous
#957018 #7C9518 #3E9518
triadic
#7C9518 #187C95 #95187C
tetradic
#7C9518 #189570 #311895 #95183E
square
#7C9518 #189570 #311895 #95183E
split-complementary
#7C9518 #183E95 #701895
monochromatic
#242C07 #506010 #7C9518 #A8CA20 #C2E146

Accessibility & contrast

On white

3.40
#7C9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7C9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9518
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9518#FFFFFF#000000##000000
##7C95181.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#838D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c9518;
/* rgb */ color: rgb(124, 149, 24);
/* oklch */ color: oklch(62.8% 0.144 121.2);
Tailwind
colors: {
  custom: {
    50: '#a6b463',
    500: '#7c9518',
    950: '#000000',
  },
}
SCSS
$custom: #7c9518;
$custom-light: #a6b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9518",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6285,
    "c": 0.14358,
    "h": 121.2
  },
  "luminance": 0.25846
}

Semantic roles & 50–950 ramp

primary
#7C9518
secondary
#5F46C2
accent
#39EF5D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9518

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

Preview Lab → · Contrast checker → · Palette generator →

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