#7D8320#7D8320

#7D8320 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.118 H 113.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7D8320
RGBrgb(125, 131, 32)
HSLhsl(64, 61%, 32%)
HSVhsv(64, 76%, 51%)
CMYKcmyk(4.6%, 0%, 75.6%, 48.6%)
CIE-LABlab(52.62, -14.96, 49.29)
CIE-LCHlch(52.62, 51.51, 106.89°)
OKLaboklab(58.64% -0.0462 0.1088)
OKLCHoklch(58.64% 0.118 113)
XYZxyz(16.8350, 20.6972, 4.4744)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8320 #262083
analogous
#835720 #7D8320 #4C8320
triadic
#7D8320 #207D83 #83207D
tetradic
#7D8320 #208357 #262083 #83204C
square
#7D8320 #208357 #262083 #83204C
split-complementary
#7D8320 #204C83 #572083
monochromatic
#1F2108 #4E5214 #7D8320 #ACB42C #CBD34A

Accessibility & contrast

On white

4.09
#7D8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7D8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8320
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8320#FFFFFF#000000##000000
##7D83201.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0B
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#867B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d8320;
/* rgb */ color: rgb(125, 131, 32);
/* oklch */ color: oklch(58.6% 0.118 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a664',
    500: '#7d8320',
    950: '#000000',
  },
}
SCSS
$custom: #7d8320;
$custom-light: #a6a664;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8320",
  "rgb": {
    "r": 125,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 63.636,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.11818,
    "h": 113
  },
  "luminance": 0.20697
}

Semantic roles & 50–950 ramp

primary
#7D8320
secondary
#5049B6
accent
#44E44E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8320

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

Preview Lab → · Contrast checker → · Palette generator →

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