#7D8D15#7D8D15

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

Color values

HEX#7D8D15
RGBrgb(125, 141, 21)
HSLhsl(68, 74%, 32%)
HSVhsv(68, 85%, 55%)
CMYKcmyk(11.3%, 0%, 85.1%, 44.7%)
CIE-LABlab(55.55, -20.63, 55.33)
CIE-LCHlch(55.55, 59.06, 110.45°)
OKLaboklab(60.98% -0.0627 0.1197)
OKLCHoklch(60.98% 0.135 117.7)
XYZxyz(18.1182, 23.4641, 4.2839)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D15 #25158D
analogous
#8D6115 #7D8D15 #418D15
triadic
#7D8D15 #157D8D #8D157D
tetradic
#7D8D15 #158D61 #25158D #8D1541
square
#7D8D15 #158D61 #25158D #8D1541
split-complementary
#7D8D15 #15418D #61158D
monochromatic
#1F2205 #4E580D #7D8D15 #ACC21D #CBE23B

Accessibility & contrast

On white

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

On black

5.69
#7D8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D15
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D15#FFFFFF#000000##000000
##7D8D151.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8d15;
/* rgb */ color: rgb(125, 141, 21);
/* oklch */ color: oklch(61.0% 0.135 117.7);
Tailwind
colors: {
  custom: {
    50: '#a6ae60',
    500: '#7d8d15',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d15;
$custom-light: #a6ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d15",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 68,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.13509,
    "h": 117.7
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#7D8D15
secondary
#4F3DC1
accent
#37F150
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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