#7D8920#7D8920

#7D8920 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.125 H 116.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7D8920
RGBrgb(125, 137, 32)
HSLhsl(67, 62%, 33%)
HSVhsv(67, 77%, 54%)
CMYKcmyk(8.8%, 0%, 76.6%, 46.3%)
CIE-LABlab(54.40, -18.12, 50.97)
CIE-LCHlch(54.40, 54.10, 109.57°)
OKLaboklab(60.07% -0.055 0.1123)
OKLCHoklch(60.07% 0.125 116.1)
XYZxyz(17.6643, 22.3558, 4.7508)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8920 #2C2089
analogous
#896020 #7D8920 #488920
triadic
#7D8920 #207D89 #89207D
tetradic
#7D8920 #208960 #2C2089 #892048
square
#7D8920 #208960 #2C2089 #892048
split-complementary
#7D8920 #204889 #602089
monochromatic
#222609 #505714 #7D8920 #AABB2C #C6D64E

Accessibility & contrast

On white

3.84
#7D8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7D8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8920
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8920#FFFFFF#000000##000000
##7D89201.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938208
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#858175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d8920;
/* rgb */ color: rgb(125, 137, 32);
/* oklch */ color: oklch(60.1% 0.125 116.1);
Tailwind
colors: {
  custom: {
    50: '#a6ab64',
    500: '#7d8920',
    950: '#000000',
  },
}
SCSS
$custom: #7d8920;
$custom-light: #a6ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8920",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 66.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.12506,
    "h": 116.1
  },
  "luminance": 0.22356
}

Semantic roles & 50–950 ramp

primary
#7D8920
secondary
#594CB9
accent
#43E555
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8920

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

Preview Lab → · Contrast checker → · Palette generator →

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