#7C9016#7C9016

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

Color values

HEX#7C9016
RGBrgb(124, 144, 22)
HSLhsl(70, 73%, 33%)
HSVhsv(70, 85%, 56%)
CMYKcmyk(13.9%, 0%, 84.7%, 43.5%)
CIE-LABlab(56.38, -22.56, 55.76)
CIE-LCHlch(56.38, 60.15, 112.03°)
OKLaboklab(61.63% -0.0679 0.1208)
OKLCHoklch(61.63% 0.139 119.3)
XYZxyz(18.4307, 24.2896, 4.4763)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9016 #2A1690
analogous
#906716 #7C9016 #3F9016
triadic
#7C9016 #167C90 #90167C
tetradic
#7C9016 #169067 #2A1690 #90163F
square
#7C9016 #169067 #2A1690 #90163F
split-complementary
#7C9016 #163F90 #671690
monochromatic
#212606 #4E5B0E #7C9016 #AAC51E #C7E23F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9016#FFFFFF#000000##000000
##7C90161.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)
#84887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c9016;
/* rgb */ color: rgb(124, 144, 22);
/* oklch */ color: oklch(61.6% 0.139 119.3);
Tailwind
colors: {
  custom: {
    50: '#a6b061',
    500: '#7c9016',
    950: '#000000',
  },
}
SCSS
$custom: #7c9016;
$custom-light: #a6b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9016",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 22
  },
  "hsl": {
    "h": 69.836,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.13855,
    "h": 119.3
  },
  "luminance": 0.2429
}

Semantic roles & 50–950 ramp

primary
#7C9016
secondary
#5540C2
accent
#38F056
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9016

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

Preview Lab → · Contrast checker → · Palette generator →

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