#7D8519#7D8519

#7D8519 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.1% C 0.124 H 114.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7D8519
RGBrgb(125, 133, 25)
HSLhsl(64, 68%, 31%)
HSVhsv(64, 81%, 52%)
CMYKcmyk(6%, 0%, 81.2%, 47.8%)
CIE-LABlab(53.17, -16.33, 52.14)
CIE-LCHlch(53.17, 54.64, 107.39°)
OKLaboklab(59.07% -0.0506 0.1135)
OKLCHoklch(59.07% 0.124 114)
XYZxyz(17.0210, 21.2056, 4.1160)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8519 #211985
analogous
#855719 #7D8519 #478519
triadic
#7D8519 #197D85 #85197D
tetradic
#7D8519 #198557 #211985 #851947
square
#7D8519 #198557 #211985 #851947
split-complementary
#7D8519 #194785 #571985
monochromatic
#1C1E06 #4D510F #7D8519 #ADB923 #CFDB3E

Accessibility & contrast

On white

4.01
#7D8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7D8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8519
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8519#FFFFFF#000000##000000
##7D85191.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#867D71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d8519;
/* rgb */ color: rgb(125, 133, 25);
/* oklch */ color: oklch(59.1% 0.124 114.0);
Tailwind
colors: {
  custom: {
    50: '#a6a861',
    500: '#7d8519',
    950: '#000000',
  },
}
SCSS
$custom: #7d8519;
$custom-light: #a6a861;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8519",
  "rgb": {
    "r": 125,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 64.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.12429,
    "h": 114
  },
  "luminance": 0.21205
}

Semantic roles & 50–950 ramp

primary
#7D8519
secondary
#4A41B9
accent
#3DEB4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D8519

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

Preview Lab → · Contrast checker → · Palette generator →

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