#7D8D19#7D8D19

#7D8D19 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.0% C 0.133 H 117.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7D8D19
RGBrgb(125, 141, 25)
HSLhsl(68, 70%, 33%)
HSVhsv(68, 82%, 55%)
CMYKcmyk(11.3%, 0%, 82.3%, 44.7%)
CIE-LABlab(55.56, -20.49, 54.26)
CIE-LCHlch(55.56, 58.00, 110.69°)
OKLaboklab(60.99% -0.0621 0.1181)
OKLCHoklch(60.99% 0.133 117.7)
XYZxyz(18.1583, 23.4801, 4.4951)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D19 #29198D
analogous
#8D6319 #7D8D19 #438D19
triadic
#7D8D19 #197D8D #8D197D
tetradic
#7D8D19 #198D63 #29198D #8D1943
square
#7D8D19 #198D63 #29198D #8D1943
split-complementary
#7D8D19 #19438D #63198D
monochromatic
#212507 #4F5910 #7D8D19 #ABC122 #C8DE43

Accessibility & contrast

On white

3.69
#7D8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7D8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D19
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D19#FFFFFF#000000##000000
##7D8D191.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#858578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d19;
/* rgb */ color: rgb(125, 141, 25);
/* oklch */ color: oklch(61.0% 0.133 117.7);
Tailwind
colors: {
  custom: {
    50: '#a6ae62',
    500: '#7d8d19',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d19;
$custom-light: #a6ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d19",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 68.276,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.13337,
    "h": 117.7
  },
  "luminance": 0.2348
}

Semantic roles & 50–950 ramp

primary
#7D8D19
secondary
#5443BF
accent
#3BED54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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