#7D8919#7D8919

#7D8919 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.0% C 0.129 H 116.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7D8919
RGBrgb(125, 137, 25)
HSLhsl(66, 69%, 32%)
HSVhsv(66, 82%, 54%)
CMYKcmyk(8.8%, 0%, 81.8%, 46.3%)
CIE-LABlab(54.37, -18.43, 53.20)
CIE-LCHlch(54.37, 56.30, 109.11°)
OKLaboklab(60.03% -0.0564 0.1158)
OKLCHoklch(60.03% 0.129 116)
XYZxyz(17.5791, 22.3218, 4.3020)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8919 #251989
analogous
#895D19 #7D8919 #458919
triadic
#7D8919 #197D89 #89197D
tetradic
#7D8919 #19895D #251989 #891945
square
#7D8919 #19895D #251989 #891945
split-complementary
#7D8919 #194589 #5D1989
monochromatic
#1F2106 #4E5510 #7D8919 #ACBD22 #CBDC40

Accessibility & contrast

On white

3.84
#7D8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7D8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8919
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8919#FFFFFF#000000##000000
##7D89191.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#868175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d8919;
/* rgb */ color: rgb(125, 137, 25);
/* oklch */ color: oklch(60.0% 0.129 116.0);
Tailwind
colors: {
  custom: {
    50: '#a6ab61',
    500: '#7d8919',
    950: '#000000',
  },
}
SCSS
$custom: #7d8919;
$custom-light: #a6ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8919",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 66.429,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.12879,
    "h": 116
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#7D8919
secondary
#4F41BC
accent
#3CEC4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8919

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

Preview Lab → · Contrast checker → · Palette generator →

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