#7D8932#7D8932

#7D8932 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.112 H 116.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7D8932
RGBrgb(125, 137, 50)
HSLhsl(68, 47%, 37%)
HSVhsv(68, 64%, 54%)
CMYKcmyk(8.8%, 0%, 63.5%, 46.3%)
CIE-LABlab(54.53, -17.01, 43.81)
CIE-LCHlch(54.53, 47.00, 111.22°)
OKLaboklab(60.22% -0.05 0.1002)
OKLCHoklch(60.22% 0.112 116.5)
XYZxyz(17.9792, 22.4818, 6.4093)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8932 #3E3289
analogous
#896A32 #7D8932 #528932
triadic
#7D8932 #327D89 #89327D
tetradic
#7D8932 #32896A #3E3289 #893252
square
#7D8932 #32896A #3E3289 #893252
split-complementary
#7D8932 #325289 #6A3289
monochromatic
#2B2F11 #545C22 #7D8932 #A6B642 #BCC96C

Accessibility & contrast

On white

3.82
#7D8932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7D8932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8932
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8932#FFFFFF#000000##000000
##7D89321.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#848277
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d8932;
/* rgb */ color: rgb(125, 137, 50);
/* oklch */ color: oklch(60.2% 0.112 116.5);
Tailwind
colors: {
  custom: {
    50: '#a5ab6e',
    500: '#7d8932',
    950: '#000000',
  },
}
SCSS
$custom: #7d8932;
$custom-light: #a5ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8932",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 50
  },
  "hsl": {
    "h": 68.276,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.11203,
    "h": 116.5
  },
  "luminance": 0.22482
}

Semantic roles & 50–950 ramp

primary
#7D8932
secondary
#7066B1
accent
#52D664
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7D8932

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

Preview Lab → · Contrast checker → · Palette generator →

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