#7D8922#7D8922

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

Color values

HEX#7D8922
RGBrgb(125, 137, 34)
HSLhsl(67, 60%, 34%)
HSVhsv(67, 75%, 54%)
CMYKcmyk(8.8%, 0%, 75.2%, 46.3%)
CIE-LABlab(54.41, -18.02, 50.27)
CIE-LCHlch(54.41, 53.41, 109.72°)
OKLaboklab(60.09% -0.0545 0.1112)
OKLCHoklch(60.09% 0.124 116.1)
XYZxyz(17.6923, 22.3670, 4.8983)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8922 #2E2289
analogous
#896122 #7D8922 #498922
triadic
#7D8922 #227D89 #89227D
tetradic
#7D8922 #228961 #2E2289 #892249
square
#7D8922 #228961 #2E2289 #892249
split-complementary
#7D8922 #224989 #612289
monochromatic
#24270A #505816 #7D8922 #AABA2E #C5D451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8922#FFFFFF#000000##000000
##7D89221.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)
#93820D
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#858175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d8922;
/* rgb */ color: rgb(125, 137, 34);
/* oklch */ color: oklch(60.1% 0.124 116.1);
Tailwind
colors: {
  custom: {
    50: '#a6ab65',
    500: '#7d8922',
    950: '#000000',
  },
}
SCSS
$custom: #7d8922;
$custom-light: #a6ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8922",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 66.99,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60085,
    "c": 0.12386,
    "h": 116.1
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#7D8922
secondary
#5B4FB8
accent
#44E357
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8922

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

Preview Lab → · Contrast checker → · Palette generator →

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