#7C9017#7C9017

#7C9017 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.6% C 0.138 H 119.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7C9017
RGBrgb(124, 144, 23)
HSLhsl(70, 72%, 33%)
HSVhsv(70, 84%, 56%)
CMYKcmyk(13.9%, 0%, 84%, 43.5%)
CIE-LABlab(56.38, -22.53, 55.50)
CIE-LCHlch(56.38, 59.90, 112.09°)
OKLaboklab(61.63% -0.0677 0.1204)
OKLCHoklch(61.63% 0.138 119.4)
XYZxyz(18.4405, 24.2936, 4.5281)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9017 #2B1790
analogous
#906717 #7C9017 #409017
triadic
#7C9017 #177C90 #90177C
tetradic
#7C9017 #179067 #2B1790 #901740
square
#7C9017 #179067 #2B1790 #901740
split-complementary
#7C9017 #174090 #671790
monochromatic
#212606 #4F5B0F #7C9017 #A9C51F #C6E141

Accessibility & contrast

On white

3.58
#7C9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7C9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9017
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9017#FFFFFF#000000##000000
##7C90171.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#84887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c9017;
/* rgb */ color: rgb(124, 144, 23);
/* oklch */ color: oklch(61.6% 0.138 119.4);
Tailwind
colors: {
  custom: {
    50: '#a6b061',
    500: '#7c9017',
    950: '#000000',
  },
}
SCSS
$custom: #7c9017;
$custom-light: #a6b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9017",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 69.917,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.13813,
    "h": 119.4
  },
  "luminance": 0.24293
}

Semantic roles & 50–950 ramp

primary
#7C9017
secondary
#5742C1
accent
#39EF57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9017

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

Preview Lab → · Contrast checker → · Palette generator →

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