#7D8019#7D8019

#7D8019 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.119 H 111.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D8019
RGBrgb(125, 128, 25)
HSLhsl(62, 67%, 30%)
HSVhsv(62, 80%, 50%)
CMYKcmyk(2.3%, 0%, 80.5%, 49.8%)
CIE-LABlab(51.69, -13.67, 50.82)
CIE-LCHlch(51.69, 52.62, 105.06°)
OKLaboklab(57.88% -0.0432 0.1107)
OKLCHoklch(57.88% 0.119 111.3)
XYZxyz(16.3527, 19.8689, 3.8932)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8019 #1C1980
analogous
#805019 #7D8019 #498019
triadic
#7D8019 #197D80 #80197D
tetradic
#7D8019 #198050 #1C1980 #801949
square
#7D8019 #198050 #1C1980 #801949
split-complementary
#7D8019 #194980 #501980
monochromatic
#191A05 #4B4D0F #7D8019 #AFB323 #D4D93B

Accessibility & contrast

On white

4.22
#7D8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7D8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8019
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8019#FFFFFF#000000##000000
##7D80191.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#86786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d8019;
/* rgb */ color: rgb(125, 128, 25);
/* oklch */ color: oklch(57.9% 0.119 111.3);
Tailwind
colors: {
  custom: {
    50: '#a6a460',
    500: '#7d8019',
    950: '#000000',
  },
}
SCSS
$custom: #7d8019;
$custom-light: #a6a460;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8019",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 61.748,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.11882,
    "h": 111.3
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#7D8019
secondary
#4441B4
accent
#3EEA43
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8019

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

Preview Lab → · Contrast checker → · Palette generator →

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