#7D8D16#7D8D16

#7D8D16 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.0% C 0.135 H 117.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7D8D16
RGBrgb(125, 141, 22)
HSLhsl(68, 73%, 32%)
HSVhsv(68, 84%, 55%)
CMYKcmyk(11.3%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.55, -20.60, 55.08)
CIE-LCHlch(55.55, 58.80, 110.51°)
OKLaboklab(60.98% -0.0626 0.1193)
OKLCHoklch(60.98% 0.135 117.7)
XYZxyz(18.1276, 23.4679, 4.3337)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D16 #26168D
analogous
#8D6216 #7D8D16 #428D16
triadic
#7D8D16 #167D8D #8D167D
tetradic
#7D8D16 #168D62 #26168D #8D1642
square
#7D8D16 #168D62 #26168D #8D1642
split-complementary
#7D8D16 #16428D #62168D
monochromatic
#1F2305 #4E580E #7D8D16 #ACC21E #CBE13D

Accessibility & contrast

On white

3.69
#7D8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7D8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D16
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D16#FFFFFF#000000##000000
##7D8D161.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8d16;
/* rgb */ color: rgb(125, 141, 22);
/* oklch */ color: oklch(61.0% 0.135 117.7);
Tailwind
colors: {
  custom: {
    50: '#a6ae61',
    500: '#7d8d16',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d16;
$custom-light: #a6ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d16",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 68.067,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.13469,
    "h": 117.7
  },
  "luminance": 0.23468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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