#7D8E15#7D8E15

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

Color values

HEX#7D8E15
RGBrgb(125, 142, 21)
HSLhsl(68, 74%, 32%)
HSVhsv(68, 85%, 56%)
CMYKcmyk(12%, 0%, 85.2%, 44.3%)
CIE-LABlab(55.85, -21.14, 55.59)
CIE-LCHlch(55.85, 59.48, 110.82°)
OKLaboklab(61.22% -0.0641 0.1202)
OKLCHoklch(61.22% 0.136 118.1)
XYZxyz(18.2663, 23.7603, 4.3333)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E15 #26158E
analogous
#8E6315 #7D8E15 #408E15
triadic
#7D8E15 #157D8E #8E157D
tetradic
#7D8E15 #158E63 #26158E #8E1540
square
#7D8E15 #158E63 #26158E #8E1540
split-complementary
#7D8E15 #15408E #63158E
monochromatic
#1F2305 #4E590D #7D8E15 #ACC31D #CBE23B

Accessibility & contrast

On white

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

On black

5.75
#7D8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E15
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E15#FFFFFF#000000##000000
##7D8E151.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8e15;
/* rgb */ color: rgb(125, 142, 21);
/* oklch */ color: oklch(61.2% 0.136 118.1);
Tailwind
colors: {
  custom: {
    50: '#a6af60',
    500: '#7d8e15',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e15;
$custom-light: #a6af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e15",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 68.43,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61217,
    "c": 0.13623,
    "h": 118.1
  },
  "luminance": 0.2376
}

Semantic roles & 50–950 ramp

primary
#7D8E15
secondary
#503DC2
accent
#37F151
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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