#7C8F16#7C8F16

#7C8F16 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.4% C 0.137 H 119.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C8F16
RGBrgb(124, 143, 22)
HSLhsl(69, 73%, 32%)
HSVhsv(69, 85%, 56%)
CMYKcmyk(13.3%, 0%, 84.6%, 43.9%)
CIE-LABlab(56.08, -22.06, 55.50)
CIE-LCHlch(56.08, 59.72, 111.68°)
OKLaboklab(61.38% -0.0665 0.1202)
OKLCHoklch(61.38% 0.137 119)
XYZxyz(18.2799, 23.9881, 4.4261)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F16 #29168F
analogous
#8F6516 #7C8F16 #408F16
triadic
#7C8F16 #167C8F #8F167C
tetradic
#7C8F16 #168F65 #29168F #8F1640
square
#7C8F16 #168F65 #29168F #8F1640
split-complementary
#7C8F16 #16408F #65168F
monochromatic
#202506 #4E5A0E #7C8F16 #AAC41E #C8E13E

Accessibility & contrast

On white

3.62
#7C8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7C8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F16
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F16#FFFFFF#000000##000000
##7C8F161.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#84877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8f16;
/* rgb */ color: rgb(124, 143, 22);
/* oklch */ color: oklch(61.4% 0.137 119.0);
Tailwind
colors: {
  custom: {
    50: '#a6af61',
    500: '#7c8f16',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f16;
$custom-light: #a6af61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f16",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 69.421,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.13739,
    "h": 119
  },
  "luminance": 0.23988
}

Semantic roles & 50–950 ramp

primary
#7C8F16
secondary
#543FC1
accent
#38F055
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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