#7E8924#7E8924

#7E8924 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.122 H 115.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7E8924
RGBrgb(126, 137, 36)
HSLhsl(67, 58%, 34%)
HSVhsv(67, 74%, 54%)
CMYKcmyk(8%, 0%, 73.7%, 46.3%)
CIE-LABlab(54.51, -17.47, 49.65)
CIE-LCHlch(54.51, 52.63, 109.39°)
OKLaboklab(60.18% -0.0528 0.1102)
OKLCHoklch(60.18% 0.122 115.6)
XYZxyz(17.8688, 22.4546, 5.0616)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8924 #2F2489
analogous
#896224 #7E8924 #4C8924
triadic
#7E8924 #247E89 #89247E
tetradic
#7E8924 #248962 #2F2489 #89244C
square
#7E8924 #248962 #2F2489 #89244C
split-complementary
#7E8924 #244C89 #622489
monochromatic
#25280B #515917 #7E8924 #ABB931 #C5D255

Accessibility & contrast

On white

3.82
#7E8924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7E8924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8924
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8924#FFFFFF#000000##000000
##7E89241.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938211
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#868175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8924;
/* rgb */ color: rgb(126, 137, 36);
/* oklch */ color: oklch(60.2% 0.122 115.6);
Tailwind
colors: {
  custom: {
    50: '#a6ab66',
    500: '#7e8924',
    950: '#000000',
  },
}
SCSS
$custom: #7e8924;
$custom-light: #a6ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8924",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 66.535,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.12225,
    "h": 115.6
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#7E8924
secondary
#5D52B7
accent
#46E257
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E8924

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

Preview Lab → · Contrast checker → · Palette generator →

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