#7D8617#7D8617

#7D8617 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.126 H 114.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D8617
RGBrgb(125, 134, 23)
HSLhsl(65, 71%, 31%)
HSVhsv(65, 83%, 53%)
CMYKcmyk(6.7%, 0%, 82.8%, 47.5%)
CIE-LABlab(53.46, -16.94, 52.99)
CIE-LCHlch(53.46, 55.63, 107.72°)
OKLaboklab(59.3% -0.0524 0.115)
OKLCHoklch(59.3% 0.126 114.5)
XYZxyz(17.1377, 21.4724, 4.0522)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8617 #201786
analogous
#865717 #7D8617 #458617
triadic
#7D8617 #177D86 #86177D
tetradic
#7D8617 #178657 #201786 #861745
square
#7D8617 #178657 #201786 #861745
split-complementary
#7D8617 #174586 #571786
monochromatic
#1C1E05 #4C520E #7D8617 #AEBA20 #D0DD3A

Accessibility & contrast

On white

3.97
#7D8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7D8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8617
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8617#FFFFFF#000000##000000
##7D86171.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#867E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d8617;
/* rgb */ color: rgb(125, 134, 23);
/* oklch */ color: oklch(59.3% 0.126 114.5);
Tailwind
colors: {
  custom: {
    50: '#a6a960',
    500: '#7d8617',
    950: '#000000',
  },
}
SCSS
$custom: #7d8617;
$custom-light: #a6a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8617",
  "rgb": {
    "r": 125,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 64.865,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59303,
    "c": 0.12635,
    "h": 114.5
  },
  "luminance": 0.21472
}

Semantic roles & 50–950 ramp

primary
#7D8617
secondary
#493FBA
accent
#3AED49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D8617

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

Preview Lab → · Contrast checker → · Palette generator →

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