#7D8524#7D8524

#7D8524 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.118 H 114.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7D8524
RGBrgb(125, 133, 36)
HSLhsl(65, 57%, 33%)
HSVhsv(65, 73%, 52%)
CMYKcmyk(6%, 0%, 72.9%, 47.8%)
CIE-LABlab(53.24, -15.81, 48.38)
CIE-LCHlch(53.24, 50.90, 108.10°)
OKLaboklab(59.14% -0.0482 0.1076)
OKLCHoklch(59.14% 0.118 114.1)
XYZxyz(17.1639, 21.2627, 4.8687)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8524 #2C2485
analogous
#855C24 #7D8524 #4D8524
triadic
#7D8524 #247D85 #85247D
tetradic
#7D8524 #24855C #2C2485 #85244D
square
#7D8524 #24855C #2C2485 #85244D
split-complementary
#7D8524 #244D85 #5C2485
monochromatic
#22250A #505517 #7D8524 #AAB531 #C6D053

Accessibility & contrast

On white

4.00
#7D8524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7D8524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8524
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8524#FFFFFF#000000##000000
##7D85241.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E13
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#857D72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d8524;
/* rgb */ color: rgb(125, 133, 36);
/* oklch */ color: oklch(59.1% 0.118 114.1);
Tailwind
colors: {
  custom: {
    50: '#a6a866',
    500: '#7d8524',
    950: '#000000',
  },
}
SCSS
$custom: #7d8524;
$custom-light: #a6a866;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8524",
  "rgb": {
    "r": 125,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 64.948,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.1179,
    "h": 114.1
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#7D8524
secondary
#5950B4
accent
#47E154
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8524

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

Preview Lab → · Contrast checker → · Palette generator →

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