#7D8819#7D8819

#7D8819 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.128 H 115.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D8819
RGBrgb(125, 136, 25)
HSLhsl(66, 69%, 32%)
HSVhsv(66, 82%, 53%)
CMYKcmyk(8.1%, 0%, 81.6%, 46.7%)
CIE-LABlab(54.07, -17.91, 52.94)
CIE-LCHlch(54.07, 55.89, 108.69°)
OKLaboklab(59.79% -0.0549 0.1152)
OKLCHoklch(59.79% 0.128 115.5)
XYZxyz(17.4376, 22.0388, 4.2548)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8819 #241988
analogous
#885C19 #7D8819 #468819
triadic
#7D8819 #197D88 #88197D
tetradic
#7D8819 #19885C #241988 #881946
square
#7D8819 #19885C #241988 #881946
split-complementary
#7D8819 #194688 #5C1988
monochromatic
#1E2106 #4D540F #7D8819 #ADBC23 #CCDC40

Accessibility & contrast

On white

3.88
#7D8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7D8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8819
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8819#FFFFFF#000000##000000
##7D88191.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#868074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d8819;
/* rgb */ color: rgb(125, 136, 25);
/* oklch */ color: oklch(59.8% 0.128 115.5);
Tailwind
colors: {
  custom: {
    50: '#a6aa61',
    500: '#7d8819',
    950: '#000000',
  },
}
SCSS
$custom: #7d8819;
$custom-light: #a6aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8819",
  "rgb": {
    "r": 125,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 65.946,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.12765,
    "h": 115.5
  },
  "luminance": 0.22038
}

Semantic roles & 50–950 ramp

primary
#7D8819
secondary
#4D41BB
accent
#3CEC4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8819

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

Preview Lab → · Contrast checker → · Palette generator →

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