#7D8E19#7D8E19

#7D8E19 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.2% C 0.135 H 118.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D8E19
RGBrgb(125, 142, 25)
HSLhsl(69, 70%, 33%)
HSVhsv(69, 82%, 56%)
CMYKcmyk(12%, 0%, 82.4%, 44.3%)
CIE-LABlab(55.86, -21.00, 54.53)
CIE-LCHlch(55.86, 58.43, 111.07°)
OKLaboklab(61.23% -0.0635 0.1186)
OKLCHoklch(61.23% 0.135 118.1)
XYZxyz(18.3064, 23.7763, 4.5444)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E19 #2A198E
analogous
#8E6419 #7D8E19 #428E19
triadic
#7D8E19 #197D8E #8E197D
tetradic
#7D8E19 #198E64 #2A198E #8E1942
square
#7D8E19 #198E64 #2A198E #8E1942
split-complementary
#7D8E19 #19428E #64198E
monochromatic
#212607 #4F5A10 #7D8E19 #ABC222 #C8DE43

Accessibility & contrast

On white

3.65
#7D8E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7D8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E19
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E19#FFFFFF#000000##000000
##7D8E191.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#858679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e19;
/* rgb */ color: rgb(125, 142, 25);
/* oklch */ color: oklch(61.2% 0.135 118.1);
Tailwind
colors: {
  custom: {
    50: '#a6af62',
    500: '#7d8e19',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e19;
$custom-light: #a6af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e19",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 68.718,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61235,
    "c": 0.13453,
    "h": 118.1
  },
  "luminance": 0.23776
}

Semantic roles & 50–950 ramp

primary
#7D8E19
secondary
#5644BF
accent
#3BED55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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