#7E8B29#7E8B29

#7E8B29 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.7% C 0.121 H 116.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7E8B29
RGBrgb(126, 139, 41)
HSLhsl(68, 54%, 35%)
HSVhsv(68, 71%, 55%)
CMYKcmyk(9.4%, 0%, 70.5%, 45.5%)
CIE-LABlab(55.14, -18.23, 48.32)
CIE-LCHlch(55.14, 51.65, 110.67°)
OKLaboklab(60.7% -0.0544 0.1083)
OKLCHoklch(60.7% 0.121 116.7)
XYZxyz(18.2375, 23.0612, 5.5879)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8B29 #36298B
analogous
#8B6729 #7E8B29 #4D8B29
triadic
#7E8B29 #297E8B #8B297E
tetradic
#7E8B29 #298B67 #36298B #8B294D
square
#7E8B29 #298B67 #36298B #8B294D
split-complementary
#7E8B29 #294D8B #67298B
monochromatic
#282C0D #535C1B #7E8B29 #A9BA37 #C1D05F

Accessibility & contrast

On white

3.74
#7E8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7E8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8B29
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8B29#FFFFFF#000000##000000
##7E8B291.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#938530
Tritanopia (blue-blind)
#868378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e8b29;
/* rgb */ color: rgb(126, 139, 41);
/* oklch */ color: oklch(60.7% 0.121 116.7);
Tailwind
colors: {
  custom: {
    50: '#a6ac69',
    500: '#7e8b29',
    950: '#000000',
  },
}
SCSS
$custom: #7e8b29;
$custom-light: #a6ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8b29",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 67.959,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.12124,
    "h": 116.7
  },
  "luminance": 0.23061
}

Semantic roles & 50–950 ramp

primary
#7E8B29
secondary
#675BB5
accent
#4ADE5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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