#7C9618#7C9618

#7C9618 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#7C9618
RGBrgb(124, 150, 24)
HSLhsl(72, 72%, 34%)
HSVhsv(72, 84%, 59%)
CMYKcmyk(17.3%, 0%, 84%, 41.2%)
CIE-LABlab(58.19, -25.49, 56.81)
CIE-LCHlch(58.19, 62.27, 114.16°)
OKLaboklab(63.09% -0.0757 0.1234)
OKLCHoklch(63.09% 0.145 121.5)
XYZxyz(19.3837, 26.1637, 4.8929)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9618 #321896
analogous
#967118 #7C9618 #3D9618
triadic
#7C9618 #187C96 #96187C
tetradic
#7C9618 #189671 #321896 #96183D
square
#7C9618 #189671 #321896 #96183D
split-complementary
#7C9618 #183D96 #711896
monochromatic
#252C07 #506110 #7C9618 #A8CB20 #C2E247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9618#FFFFFF#000000##000000
##7C96181.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: #7c9618;
/* rgb */ color: rgb(124, 150, 24);
/* oklch */ color: oklch(63.1% 0.145 121.5);
Tailwind
colors: {
  custom: {
    50: '#a6b463',
    500: '#7c9618',
    950: '#000000',
  },
}
SCSS
$custom: #7c9618;
$custom-light: #a6b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9618",
  "rgb": {
    "r": 124,
    "g": 150,
    "b": 24
  },
  "hsl": {
    "h": 72.381,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.14476,
    "h": 121.5
  },
  "luminance": 0.26164
}

Semantic roles & 50–950 ramp

primary
#7C9618
secondary
#6147C3
accent
#39EF5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9618

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

Preview Lab → · Contrast checker → · Palette generator →

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