#7D8419#7D8419

#7D8419 is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.123 H 113.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D8419
RGBrgb(125, 132, 25)
HSLhsl(64, 68%, 31%)
HSVhsv(64, 81%, 52%)
CMYKcmyk(5.3%, 0%, 81.1%, 48.2%)
CIE-LABlab(52.88, -15.81, 51.88)
CIE-LCHlch(52.88, 54.23, 106.94°)
OKLaboklab(58.84% -0.0491 0.113)
OKLCHoklch(58.84% 0.123 113.5)
XYZxyz(16.8847, 20.9331, 4.0705)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8419 #201984
analogous
#845519 #7D8419 #478419
triadic
#7D8419 #197D84 #84197D
tetradic
#7D8419 #198455 #201984 #841947
square
#7D8419 #198455 #201984 #841947
split-complementary
#7D8419 #194784 #551984
monochromatic
#1C1D06 #4C510F #7D8419 #AEB723 #D0DA3D

Accessibility & contrast

On white

4.05
#7D8419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7D8419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8419
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8419#FFFFFF#000000##000000
##7D84191.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#867C70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d8419;
/* rgb */ color: rgb(125, 132, 25);
/* oklch */ color: oklch(58.8% 0.123 113.5);
Tailwind
colors: {
  custom: {
    50: '#a6a760',
    500: '#7d8419',
    950: '#000000',
  },
}
SCSS
$custom: #7d8419;
$custom-light: #a6a760;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8419",
  "rgb": {
    "r": 125,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 63.925,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.12318,
    "h": 113.5
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

primary
#7D8419
secondary
#4941B8
accent
#3DEB48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D8419

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

Preview Lab → · Contrast checker → · Palette generator →

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