#7D8523#7D8523

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

Color values

HEX#7D8523
RGBrgb(125, 133, 35)
HSLhsl(65, 58%, 33%)
HSVhsv(65, 74%, 52%)
CMYKcmyk(6%, 0%, 73.7%, 47.8%)
CIE-LABlab(53.23, -15.87, 48.76)
CIE-LCHlch(53.23, 51.28, 108.03°)
OKLaboklab(59.14% -0.0484 0.1082)
OKLCHoklch(59.14% 0.119 114.1)
XYZxyz(17.1488, 21.2567, 4.7894)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8523 #2B2385
analogous
#855C23 #7D8523 #4C8523
triadic
#7D8523 #237D85 #85237D
tetradic
#7D8523 #23855C #2B2385 #85234C
square
#7D8523 #23855C #2B2385 #85234C
split-complementary
#7D8523 #234C85 #5C2385
monochromatic
#222409 #4F5516 #7D8523 #ABB530 #C7D151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8523#FFFFFF#000000##000000
##7D85231.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)
#8F7E11
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#867D72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d8523;
/* rgb */ color: rgb(125, 133, 35);
/* oklch */ color: oklch(59.1% 0.119 114.1);
Tailwind
colors: {
  custom: {
    50: '#a6a865',
    500: '#7d8523',
    950: '#000000',
  },
}
SCSS
$custom: #7d8523;
$custom-light: #a6a865;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8523",
  "rgb": {
    "r": 125,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 64.898,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.11856,
    "h": 114.1
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#7D8523
secondary
#574FB5
accent
#46E253
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8523

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

Preview Lab → · Contrast checker → · Palette generator →

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