#7D8E16#7D8E16

#7D8E16 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.2% C 0.136 H 118.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D8E16
RGBrgb(125, 142, 22)
HSLhsl(69, 73%, 32%)
HSVhsv(69, 85%, 56%)
CMYKcmyk(12%, 0%, 84.5%, 44.3%)
CIE-LABlab(55.85, -21.11, 55.34)
CIE-LCHlch(55.85, 59.23, 110.88°)
OKLaboklab(61.22% -0.064 0.1198)
OKLCHoklch(61.22% 0.136 118.1)
XYZxyz(18.2757, 23.7641, 4.3831)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E16 #27168E
analogous
#8E6316 #7D8E16 #418E16
triadic
#7D8E16 #167D8E #8E167D
tetradic
#7D8E16 #168E63 #27168E #8E1641
square
#7D8E16 #168E63 #27168E #8E1641
split-complementary
#7D8E16 #16418E #63168E
monochromatic
#202406 #4E590E #7D8E16 #ACC31E #CAE13D

Accessibility & contrast

On white

3.65
#7D8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7D8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E16
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E16#FFFFFF#000000##000000
##7D8E161.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#858679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e16;
/* rgb */ color: rgb(125, 142, 22);
/* oklch */ color: oklch(61.2% 0.136 118.1);
Tailwind
colors: {
  custom: {
    50: '#a6af61',
    500: '#7d8e16',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e16;
$custom-light: #a6af61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e16",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 68.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.13583,
    "h": 118.1
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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