#7E8E13#7E8E13

#7E8E13 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.137 H 117.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7E8E13
RGBrgb(126, 142, 19)
HSLhsl(68, 76%, 32%)
HSVhsv(68, 87%, 56%)
CMYKcmyk(11.3%, 0%, 86.6%, 44.3%)
CIE-LABlab(55.92, -20.77, 56.17)
CIE-LCHlch(55.92, 59.89, 110.29°)
OKLaboklab(61.29% -0.0633 0.1211)
OKLCHoklch(61.29% 0.137 117.6)
XYZxyz(18.3952, 23.8289, 4.2463)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8E13 #23138E
analogous
#8E6113 #7E8E13 #418E13
triadic
#7E8E13 #137E8E #8E137E
tetradic
#7E8E13 #138E61 #23138E #8E1341
square
#7E8E13 #138E61 #23138E #8E1341
split-complementary
#7E8E13 #13418E #61138E
monochromatic
#1E2205 #4E580C #7E8E13 #AEC41A #CEE437

Accessibility & contrast

On white

3.64
#7E8E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7E8E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8E13
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8E13#FFFFFF#000000##000000
##7E8E131.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#868579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8e13;
/* rgb */ color: rgb(126, 142, 19);
/* oklch */ color: oklch(61.3% 0.137 117.6);
Tailwind
colors: {
  custom: {
    50: '#a7af60',
    500: '#7e8e13',
    950: '#000000',
  },
}
SCSS
$custom: #7e8e13;
$custom-light: #a7af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8e13",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 67.805,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.1366,
    "h": 117.6
  },
  "luminance": 0.23829
}

Semantic roles & 50–950 ramp

primary
#7E8E13
secondary
#4C3BC2
accent
#35F34E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7E8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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