#7E7D11#7E7D11

#7E7D11 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.119 H 109.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E7D11
RGBrgb(126, 125, 17)
HSLhsl(59, 76%, 28%)
HSVhsv(59, 87%, 49%)
CMYKcmyk(0%, 0.8%, 86.5%, 50.6%)
CIE-LABlab(50.85, -11.86, 52.41)
CIE-LCHlch(50.85, 53.73, 102.75°)
OKLaboklab(57.23% -0.0389 0.1126)
OKLCHoklch(57.23% 0.119 109.1)
XYZxyz(16.0396, 19.1438, 3.3804)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7D11 #11127E
analogous
#7E4711 #7E7D11 #487E11
triadic
#7E7D11 #117E7D #7D117E
tetradic
#7E7D11 #117E47 #11127E #7E1148
square
#7E7D11 #117E47 #11127E #7E1148
split-complementary
#7E7D11 #11487E #47117E
monochromatic
#1B1B04 #48480A #7E7D11 #B4B218 #E2E027

Accessibility & contrast

On white

4.35
#7E7D11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7E7D11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7D11
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7D11#FFFFFF#000000##000000
##7E7D111.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897B1C
Tritanopia (blue-blind)
#88746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e7d11;
/* rgb */ color: rgb(126, 125, 17);
/* oklch */ color: oklch(57.2% 0.119 109.1);
Tailwind
colors: {
  custom: {
    50: '#a7a25c',
    500: '#7e7d11',
    950: '#000000',
  },
}
SCSS
$custom: #7e7d11;
$custom-light: #a7a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7d11",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 59.45,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.11908,
    "h": 109.1
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#7E7D11
secondary
#3738B4
accent
#37F335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7E7D11

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

Preview Lab → · Contrast checker → · Palette generator →

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