#7D8719#7D8719

#7D8719 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.127 H 115.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7D8719
RGBrgb(125, 135, 25)
HSLhsl(65, 69%, 31%)
HSVhsv(65, 81%, 53%)
CMYKcmyk(7.4%, 0%, 81.5%, 47.1%)
CIE-LABlab(53.77, -17.39, 52.67)
CIE-LCHlch(53.77, 55.47, 108.27°)
OKLaboklab(59.55% -0.0535 0.1147)
OKLCHoklch(59.55% 0.127 115)
XYZxyz(17.2974, 21.7584, 4.2081)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8719 #231987
analogous
#875A19 #7D8719 #468719
triadic
#7D8719 #197D87 #87197D
tetradic
#7D8719 #19875A #231987 #871946
square
#7D8719 #19875A #231987 #871946
split-complementary
#7D8719 #194687 #5A1987
monochromatic
#1D2006 #4D530F #7D8719 #ADBB23 #CDDB3F

Accessibility & contrast

On white

3.92
#7D8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7D8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8719
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8719#FFFFFF#000000##000000
##7D87191.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#867F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d8719;
/* rgb */ color: rgb(125, 135, 25);
/* oklch */ color: oklch(59.6% 0.127 115.0);
Tailwind
colors: {
  custom: {
    50: '#a6a961',
    500: '#7d8719',
    950: '#000000',
  },
}
SCSS
$custom: #7d8719;
$custom-light: #a6a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8719",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 65.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.12652,
    "h": 115
  },
  "luminance": 0.21758
}

Semantic roles & 50–950 ramp

primary
#7D8719
secondary
#4C41BA
accent
#3CEC4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D8719

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

Preview Lab → · Contrast checker → · Palette generator →

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