#7E882A#7E882A

#7E882A is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.0% C 0.117 H 115.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7E882A
RGBrgb(126, 136, 42)
HSLhsl(66, 53%, 35%)
HSVhsv(66, 69%, 53%)
CMYKcmyk(7.4%, 0%, 69.1%, 46.7%)
CIE-LABlab(54.25, -16.60, 47.02)
CIE-LCHlch(54.25, 49.86, 109.44°)
OKLaboklab(59.99% -0.0498 0.1057)
OKLCHoklch(59.99% 0.117 115.2)
XYZxyz(17.8267, 22.2114, 5.5382)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E882A #342A88
analogous
#88632A #7E882A #4F882A
triadic
#7E882A #2A7E88 #882A7E
tetradic
#7E882A #2A8863 #342A88 #882A4F
square
#7E882A #2A8863 #342A88 #882A4F
split-complementary
#7E882A #2A4F88 #632A88
monochromatic
#272A0D #53591C #7E882A #A9B738 #C2CE5F

Accessibility & contrast

On white

3.86
#7E882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7E882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E882A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E882A#FFFFFF#000000##000000
##7E882A1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811C
Deuteranopia (green-blind)
#918331
Tritanopia (blue-blind)
#868075
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e882a;
/* rgb */ color: rgb(126, 136, 42);
/* oklch */ color: oklch(60.0% 0.117 115.2);
Tailwind
colors: {
  custom: {
    50: '#a6aa69',
    500: '#7e882a',
    950: '#000000',
  },
}
SCSS
$custom: #7e882a;
$custom-light: #a6aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e882a",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 66.383,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5999,
    "c": 0.11688,
    "h": 115.2
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#7E882A
secondary
#645BB3
accent
#4CDC5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E882A

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

Preview Lab → · Contrast checker → · Palette generator →

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