#7C8C16#7C8C16

#7C8C16 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.7% C 0.134 H 117.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C8C16
RGBrgb(124, 140, 22)
HSLhsl(68, 73%, 32%)
HSVhsv(68, 84%, 55%)
CMYKcmyk(11.4%, 0%, 84.3%, 45.1%)
CIE-LABlab(55.17, -20.53, 54.72)
CIE-LCHlch(55.17, 58.45, 110.57°)
OKLaboklab(60.66% -0.0623 0.1186)
OKLCHoklch(60.66% 0.134 117.7)
XYZxyz(17.8355, 23.0994, 4.2780)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C16 #26168C
analogous
#8C6116 #7C8C16 #418C16
triadic
#7C8C16 #167C8C #8C167C
tetradic
#7C8C16 #168C61 #26168C #8C1641
square
#7C8C16 #168C61 #26168C #8C1641
split-complementary
#7C8C16 #16418C #61168C
monochromatic
#1E2205 #4D570E #7C8C16 #ABC11E #CAE03C

Accessibility & contrast

On white

3.74
#7C8C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7C8C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8C16
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8C16#FFFFFF#000000##000000
##7C8C161.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#948523
Tritanopia (blue-blind)
#848477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8c16;
/* rgb */ color: rgb(124, 140, 22);
/* oklch */ color: oklch(60.7% 0.134 117.7);
Tailwind
colors: {
  custom: {
    50: '#a5ad60',
    500: '#7c8c16',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c16;
$custom-light: #a5ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c16",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 68.136,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.13393,
    "h": 117.7
  },
  "luminance": 0.23099
}

Semantic roles & 50–950 ramp

primary
#7C8C16
secondary
#503EC0
accent
#38F051
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8C16

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

Preview Lab → · Contrast checker → · Palette generator →

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