#7D8322#7D8322

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

Color values

HEX#7D8322
RGBrgb(125, 131, 34)
HSLhsl(64, 59%, 32%)
HSVhsv(64, 74%, 51%)
CMYKcmyk(4.6%, 0%, 74%, 48.6%)
CIE-LABlab(52.63, -14.86, 48.56)
CIE-LCHlch(52.63, 50.78, 107.02°)
OKLaboklab(58.65% -0.0457 0.1076)
OKLCHoklch(58.65% 0.117 113)
XYZxyz(16.8630, 20.7084, 4.6219)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8322 #282283
analogous
#835822 #7D8322 #4D8322
triadic
#7D8322 #227D83 #83227D
tetradic
#7D8322 #228358 #282283 #83224D
square
#7D8322 #228358 #282283 #83224D
split-complementary
#7D8322 #224D83 #582283
monochromatic
#202209 #4F5215 #7D8322 #ABB42F #C9D14E

Accessibility & contrast

On white

4.08
#7D8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8322#FFFFFF#000000##000000
##7D83221.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8322;
/* rgb */ color: rgb(125, 131, 34);
/* oklch */ color: oklch(58.7% 0.117 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a665',
    500: '#7d8322',
    950: '#000000',
  },
}
SCSS
$custom: #7d8322;
$custom-light: #a6a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8322",
  "rgb": {
    "r": 125,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 63.711,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.11692,
    "h": 113
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#7D8322
secondary
#534CB4
accent
#46E24F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8322

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

Preview Lab → · Contrast checker → · Palette generator →

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