#7D8232#7D8232

#7D8232 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.103 H 112.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7D8232
RGBrgb(125, 130, 50)
HSLhsl(64, 44%, 35%)
HSVhsv(64, 62%, 51%)
CMYKcmyk(3.8%, 0%, 61.5%, 49%)
CIE-LABlab(52.46, -13.28, 41.56)
CIE-LCHlch(52.46, 43.63, 107.73°)
OKLaboklab(58.56% -0.0396 0.0955)
OKLCHoklch(58.56% 0.103 112.5)
XYZxyz(17.0162, 20.5559, 6.0883)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8232 #373282
analogous
#825F32 #7D8232 #558232
triadic
#7D8232 #327D82 #82327D
tetradic
#7D8232 #32825F #373282 #823255
square
#7D8232 #32825F #373282 #823255
split-complementary
#7D8232 #325582 #5F3282
monochromatic
#282A10 #525621 #7D8232 #A7AE43 #C0C569

Accessibility & contrast

On white

4.11
#7D8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7D8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8232
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8232#FFFFFF#000000##000000
##7D82321.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C29
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#857B71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d8232;
/* rgb */ color: rgb(125, 130, 50);
/* oklch */ color: oklch(58.6% 0.103 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a66d',
    500: '#7d8232',
    950: '#000000',
  },
}
SCSS
$custom: #7d8232;
$custom-light: #a5a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8232",
  "rgb": {
    "r": 125,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 63.75,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.10334,
    "h": 112.5
  },
  "luminance": 0.20556
}

Semantic roles & 50–950 ramp

primary
#7D8232
secondary
#6763AD
accent
#54D45C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7D8232

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

Preview Lab → · Contrast checker → · Palette generator →

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