#7E8D29#7E8D29

#7E8D29 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.124 H 117.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7E8D29
RGBrgb(126, 141, 41)
HSLhsl(69, 55%, 36%)
HSVhsv(69, 71%, 55%)
CMYKcmyk(10.6%, 0%, 70.9%, 44.7%)
CIE-LABlab(55.73, -19.27, 48.92)
CIE-LCHlch(55.73, 52.58, 111.49°)
OKLaboklab(61.18% -0.0573 0.1096)
OKLCHoklch(61.18% 0.124 117.6)
XYZxyz(18.5297, 23.6457, 5.6853)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D29 #38298D
analogous
#8D6A29 #7E8D29 #4C8D29
triadic
#7E8D29 #297E8D #8D297E
tetradic
#7E8D29 #298D6A #38298D #8D294C
square
#7E8D29 #298D6A #38298D #8D294C
split-complementary
#7E8D29 #294C8D #6A298D
monochromatic
#292E0D #545E1B #7E8D29 #A8BC37 #C0D160

Accessibility & contrast

On white

3.67
#7E8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7E8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D29
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D29#FFFFFF#000000##000000
##7E8D291.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978519
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#868579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e8d29;
/* rgb */ color: rgb(126, 141, 41);
/* oklch */ color: oklch(61.2% 0.124 117.6);
Tailwind
colors: {
  custom: {
    50: '#a6ae69',
    500: '#7e8d29',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d29;
$custom-light: #a6ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d29",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 69,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.12367,
    "h": 117.6
  },
  "luminance": 0.23645
}

Semantic roles & 50–950 ramp

primary
#7E8D29
secondary
#695BB6
accent
#4ADE60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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