#7E8A29#7E8A29

#7E8A29 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.120 H 116.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E8A29
RGBrgb(126, 138, 41)
HSLhsl(67, 54%, 35%)
HSVhsv(67, 70%, 54%)
CMYKcmyk(8.7%, 0%, 70.3%, 45.9%)
CIE-LABlab(54.84, -17.71, 48.02)
CIE-LCHlch(54.84, 51.18, 110.24°)
OKLaboklab(60.46% -0.053 0.1077)
OKLCHoklch(60.46% 0.12 116.2)
XYZxyz(18.0933, 22.7729, 5.5399)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A29 #35298A
analogous
#8A6629 #7E8A29 #4D8A29
triadic
#7E8A29 #297E8A #8A297E
tetradic
#7E8A29 #298A66 #35298A #8A294D
square
#7E8A29 #298A66 #35298A #8A294D
split-complementary
#7E8A29 #294D8A #66298A
monochromatic
#282C0D #535B1B #7E8A29 #A9B937 #C1CF5E

Accessibility & contrast

On white

3.78
#7E8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7E8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A29
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A29#FFFFFF#000000##000000
##7E8A291.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#868277
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e8a29;
/* rgb */ color: rgb(126, 138, 41);
/* oklch */ color: oklch(60.5% 0.120 116.2);
Tailwind
colors: {
  custom: {
    50: '#a6ac69',
    500: '#7e8a29',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a29;
$custom-light: #a6ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a29",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 67.423,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.12003,
    "h": 116.2
  },
  "luminance": 0.22773
}

Semantic roles & 50–950 ramp

primary
#7E8A29
secondary
#655AB5
accent
#4ADE5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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