#7D8720#7D8720

#7D8720 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.123 H 115.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7D8720
RGBrgb(125, 135, 32)
HSLhsl(66, 62%, 33%)
HSVhsv(66, 76%, 53%)
CMYKcmyk(7.4%, 0%, 76.3%, 47.1%)
CIE-LABlab(53.81, -17.08, 50.41)
CIE-LCHlch(53.81, 53.23, 108.71°)
OKLaboklab(59.59% -0.0521 0.1112)
OKLCHoklch(59.59% 0.123 115.1)
XYZxyz(17.3826, 21.7925, 4.6569)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8720 #2A2087
analogous
#875D20 #7D8720 #4A8720
triadic
#7D8720 #207D87 #87207D
tetradic
#7D8720 #20875D #2A2087 #87204A
square
#7D8720 #20875D #2A2087 #87204A
split-complementary
#7D8720 #204A87 #5D2087
monochromatic
#212409 #4F5614 #7D8720 #ABB82C #C8D54D

Accessibility & contrast

On white

3.92
#7D8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7D8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8720
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8720#FFFFFF#000000##000000
##7D87201.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918009
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#857F73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d8720;
/* rgb */ color: rgb(125, 135, 32);
/* oklch */ color: oklch(59.6% 0.123 115.1);
Tailwind
colors: {
  custom: {
    50: '#a6a964',
    500: '#7d8720',
    950: '#000000',
  },
}
SCSS
$custom: #7d8720;
$custom-light: #a6a964;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8720",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 65.825,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59593,
    "c": 0.12274,
    "h": 115.1
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#7D8720
secondary
#564BB8
accent
#43E553
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8720

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

Preview Lab → · Contrast checker → · Palette generator →

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