#7E7C11#7E7C11

#7E7C11 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.118 H 108.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E7C11
RGBrgb(126, 124, 17)
HSLhsl(59, 76%, 28%)
HSVhsv(59, 87%, 49%)
CMYKcmyk(0%, 1.6%, 86.5%, 50.6%)
CIE-LABlab(50.56, -11.32, 52.16)
CIE-LCHlch(50.56, 53.38, 102.24°)
OKLaboklab(56.99% -0.0374 0.112)
OKLCHoklch(56.99% 0.118 108.5)
XYZxyz(15.9137, 18.8919, 3.3384)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7C11 #11137E
analogous
#7E4511 #7E7C11 #497E11
triadic
#7E7C11 #117E7C #7C117E
tetradic
#7E7C11 #117E45 #11137E #7E1149
square
#7E7C11 #117E45 #11137E #7E1149
split-complementary
#7E7C11 #11497E #45117E
monochromatic
#1B1B04 #48470A #7E7C11 #B4B118 #E2DF27

Accessibility & contrast

On white

4.39
#7E7C11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7E7C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7C11
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7C11#FFFFFF#000000##000000
##7E7C111.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897A1C
Tritanopia (blue-blind)
#887369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e7c11;
/* rgb */ color: rgb(126, 124, 17);
/* oklch */ color: oklch(57.0% 0.118 108.5);
Tailwind
colors: {
  custom: {
    50: '#a7a15c',
    500: '#7e7c11',
    950: '#000000',
  },
}
SCSS
$custom: #7e7c11;
$custom-light: #a7a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7c11",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 58.899,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.11808,
    "h": 108.5
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#7E7C11
secondary
#3739B4
accent
#38F335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7C11

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

Preview Lab → · Contrast checker → · Palette generator →

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