#7D8622#7D8622

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

Color values

HEX#7D8622
RGBrgb(125, 134, 34)
HSLhsl(65, 60%, 33%)
HSVhsv(65, 75%, 53%)
CMYKcmyk(6.7%, 0%, 74.6%, 47.5%)
CIE-LABlab(53.52, -16.45, 49.42)
CIE-LCHlch(53.52, 52.08, 108.41°)
OKLaboklab(59.37% -0.0501 0.1094)
OKLCHoklch(59.37% 0.12 114.6)
XYZxyz(17.2718, 21.5260, 4.7581)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8622 #2B2286
analogous
#865D22 #7D8622 #4B8622
triadic
#7D8622 #227D86 #86227D
tetradic
#7D8622 #22865D #2B2286 #86224B
square
#7D8622 #22865D #2B2286 #86224B
split-complementary
#7D8622 #224B86 #5D2286
monochromatic
#222409 #4F5516 #7D8622 #ABB72E #C7D350

Accessibility & contrast

On white

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

On black

5.31
#7D8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8622
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8622#FFFFFF#000000##000000
##7D86221.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0E
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#857E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d8622;
/* rgb */ color: rgb(125, 134, 34);
/* oklch */ color: oklch(59.4% 0.120 114.6);
Tailwind
colors: {
  custom: {
    50: '#a6a965',
    500: '#7d8622',
    950: '#000000',
  },
}
SCSS
$custom: #7d8622;
$custom-light: #a6a965;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8622",
  "rgb": {
    "r": 125,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 65.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.12036,
    "h": 114.6
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#7D8622
secondary
#574EB6
accent
#45E353
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8622

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

Preview Lab → · Contrast checker → · Palette generator →

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