#7E8D10#7E8D10

#7E8D10 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.0% C 0.137 H 117.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7E8D10
RGBrgb(126, 141, 16)
HSLhsl(67, 80%, 31%)
HSVhsv(67, 89%, 55%)
CMYKcmyk(10.6%, 0%, 88.7%, 44.7%)
CIE-LABlab(55.61, -20.34, 56.59)
CIE-LCHlch(55.61, 60.13, 109.77°)
OKLaboklab(61.04% -0.0623 0.1215)
OKLCHoklch(61.04% 0.137 117.1)
XYZxyz(18.2231, 23.5230, 4.0705)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D10 #1F108D
analogous
#8D5D10 #7E8D10 #3F8D10
triadic
#7E8D10 #107E8D #8D107E
tetradic
#7E8D10 #108D5D #1F108D #8D103F
square
#7E8D10 #108D5D #1F108D #8D103F
split-complementary
#7E8D10 #103F8D #5D108D
monochromatic
#1C1F04 #4D560A #7E8D10 #AFC416 #D1E730

Accessibility & contrast

On white

3.68
#7E8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7E8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D10
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D10#FFFFFF#000000##000000
##7E8D101.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#96861F
Tritanopia (blue-blind)
#878478
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e8d10;
/* rgb */ color: rgb(126, 141, 16);
/* oklch */ color: oklch(61.0% 0.137 117.1);
Tailwind
colors: {
  custom: {
    50: '#a7ae5f',
    500: '#7e8d10',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d10;
$custom-light: #a7ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d10",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 67.2,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.13652,
    "h": 117.1
  },
  "luminance": 0.23523
}

Semantic roles & 50–950 ramp

primary
#7E8D10
secondary
#4837C2
accent
#32F649
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7E8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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