#7D8620#7D8620

#7D8620 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.122 H 114.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D8620
RGBrgb(125, 134, 32)
HSLhsl(65, 61%, 33%)
HSVhsv(65, 76%, 53%)
CMYKcmyk(6.7%, 0%, 76.1%, 47.5%)
CIE-LABlab(53.51, -16.55, 50.13)
CIE-LCHlch(53.51, 52.79, 108.27°)
OKLaboklab(59.35% -0.0506 0.1106)
OKLCHoklch(59.35% 0.122 114.6)
XYZxyz(17.2438, 21.5148, 4.6106)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8620 #292086
analogous
#865C20 #7D8620 #4A8620
triadic
#7D8620 #207D86 #86207D
tetradic
#7D8620 #20865C #292086 #86204A
square
#7D8620 #20865C #292086 #86204A
split-complementary
#7D8620 #204A86 #5C2086
monochromatic
#212308 #4F5514 #7D8620 #ABB72C #C8D44C

Accessibility & contrast

On white

3.96
#7D8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7D8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8620
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8620#FFFFFF#000000##000000
##7D86201.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#867E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d8620;
/* rgb */ color: rgb(125, 134, 32);
/* oklch */ color: oklch(59.4% 0.122 114.6);
Tailwind
colors: {
  custom: {
    50: '#a6a964',
    500: '#7d8620',
    950: '#000000',
  },
}
SCSS
$custom: #7d8620;
$custom-light: #a6a964;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8620",
  "rgb": {
    "r": 125,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 65.294,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.12159,
    "h": 114.6
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#7D8620
secondary
#544BB7
accent
#43E551
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8620

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

Preview Lab → · Contrast checker → · Palette generator →

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