#7E8632#7E8632

#7E8632 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.6% C 0.108 H 114.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E8632
RGBrgb(126, 134, 50)
HSLhsl(66, 46%, 36%)
HSVhsv(66, 63%, 53%)
CMYKcmyk(6%, 0%, 62.7%, 47.5%)
CIE-LABlab(53.72, -14.98, 42.96)
CIE-LCHlch(53.72, 45.50, 109.23°)
OKLaboklab(59.59% -0.0444 0.0984)
OKLCHoklch(59.59% 0.108 114.3)
XYZxyz(17.7054, 21.7164, 6.2760)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8632 #3A3286
analogous
#866432 #7E8632 #548632
triadic
#7E8632 #327E86 #86327E
tetradic
#7E8632 #328664 #3A3286 #863254
square
#7E8632 #328664 #3A3286 #863254
split-complementary
#7E8632 #325486 #643286
monochromatic
#2A2D11 #545921 #7E8632 #A8B343 #BFC86B

Accessibility & contrast

On white

3.93
#7E8632 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E8632 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8632
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8632#FFFFFF#000000##000000
##7E86321.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8028
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#867E74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8632;
/* rgb */ color: rgb(126, 134, 50);
/* oklch */ color: oklch(59.6% 0.108 114.3);
Tailwind
colors: {
  custom: {
    50: '#a6a96e',
    500: '#7e8632',
    950: '#000000',
  },
}
SCSS
$custom: #7e8632;
$custom-light: #a6a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8632",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 50
  },
  "hsl": {
    "h": 65.714,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.10797,
    "h": 114.3
  },
  "luminance": 0.21716
}

Semantic roles & 50–950 ramp

primary
#7E8632
secondary
#6C64AF
accent
#52D55F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7E8632

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

Preview Lab → · Contrast checker → · Palette generator →

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