#7D8530#7D8530

#7D8530 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.2% C 0.109 H 114.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D8530
RGBrgb(125, 133, 48)
HSLhsl(66, 47%, 35%)
HSVhsv(66, 64%, 52%)
CMYKcmyk(6%, 0%, 63.9%, 47.8%)
CIE-LABlab(53.33, -15.04, 43.42)
CIE-LCHlch(53.33, 45.95, 109.11°)
OKLaboklab(59.25% -0.0447 0.0991)
OKLCHoklch(59.25% 0.109 114.3)
XYZxyz(17.3789, 21.3487, 6.0010)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8530 #383085
analogous
#856230 #7D8530 #528530
triadic
#7D8530 #307D85 #85307D
tetradic
#7D8530 #308562 #383085 #853052
square
#7D8530 #308562 #383085 #853052
split-complementary
#7D8530 #305285 #623085
monochromatic
#282B10 #535820 #7D8530 #A7B240 #BFC867

Accessibility & contrast

On white

3.99
#7D8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7D8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8530
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8530#FFFFFF#000000##000000
##7D85301.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F26
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#857D73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d8530;
/* rgb */ color: rgb(125, 133, 48);
/* oklch */ color: oklch(59.2% 0.109 114.3);
Tailwind
colors: {
  custom: {
    50: '#a5a86d',
    500: '#7d8530',
    950: '#000000',
  },
}
SCSS
$custom: #7d8530;
$custom-light: #a5a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8530",
  "rgb": {
    "r": 125,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 65.647,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.10876,
    "h": 114.3
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#7D8530
secondary
#6961AF
accent
#51D75E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7D8530

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

Preview Lab → · Contrast checker → · Palette generator →

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