#7C8D16#7C8D16

#7C8D16 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 60.9% C 0.135 H 118.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7C8D16
RGBrgb(124, 141, 22)
HSLhsl(69, 73%, 32%)
HSVhsv(69, 84%, 55%)
CMYKcmyk(12.1%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.47, -21.04, 54.98)
CIE-LCHlch(55.47, 58.87, 110.94°)
OKLaboklab(60.9% -0.0637 0.1191)
OKLCHoklch(60.9% 0.135 118.1)
XYZxyz(17.9823, 23.3929, 4.3269)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D16 #27168D
analogous
#8D6216 #7C8D16 #418D16
triadic
#7C8D16 #167C8D #8D167C
tetradic
#7C8D16 #168D62 #27168D #8D1641
square
#7C8D16 #168D62 #27168D #8D1641
split-complementary
#7C8D16 #16418D #62168D
monochromatic
#1F2305 #4D580E #7C8D16 #ABC21E #C9E13D

Accessibility & contrast

On white

3.70
#7C8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7C8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D16
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D16#FFFFFF#000000##000000
##7C8D161.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#848578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d16;
/* rgb */ color: rgb(124, 141, 22);
/* oklch */ color: oklch(60.9% 0.135 118.1);
Tailwind
colors: {
  custom: {
    50: '#a5ae61',
    500: '#7c8d16',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d16;
$custom-light: #a5ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d16",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 68.571,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.13508,
    "h": 118.1
  },
  "luminance": 0.23393
}

Semantic roles & 50–950 ramp

primary
#7C8D16
secondary
#513EC1
accent
#38F052
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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