#7E7E11#7E7E11

#7E7E11 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.120 H 109.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E7E11
RGBrgb(126, 126, 17)
HSLhsl(60, 76%, 28%)
HSVhsv(60, 87%, 49%)
CMYKcmyk(0%, 0%, 86.5%, 50.6%)
CIE-LABlab(51.15, -12.41, 52.66)
CIE-LCHlch(51.15, 54.10, 103.26°)
OKLaboklab(57.46% -0.0404 0.1131)
OKLCHoklch(57.46% 0.12 109.6)
XYZxyz(16.1669, 19.3983, 3.4228)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E11 #11117E
analogous
#7E4711 #7E7E11 #477E11
triadic
#7E7E11 #117E7E #7E117E
tetradic
#7E7E11 #117E47 #11117E #7E1147
square
#7E7E11 #117E47 #11117E #7E1147
split-complementary
#7E7E11 #11477E #47117E
monochromatic
#1B1B04 #48480A #7E7E11 #B4B418 #E2E227

Accessibility & contrast

On white

4.30
#7E7E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7E7E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E11
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E11#FFFFFF#000000##000000
##7E7E111.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1C
Tritanopia (blue-blind)
#88756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e7e11;
/* rgb */ color: rgb(126, 126, 17);
/* oklch */ color: oklch(57.5% 0.120 109.6);
Tailwind
colors: {
  custom: {
    50: '#a7a35d',
    500: '#7e7e11',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e11;
$custom-light: #a7a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e11",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.12008,
    "h": 109.6
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#7E7E11
secondary
#3737B4
accent
#35F335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7E7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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