#7E7B11#7E7B11

#7E7B11 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.117 H 107.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7B11
RGBrgb(126, 123, 17)
HSLhsl(58, 76%, 28%)
HSVhsv(58, 87%, 49%)
CMYKcmyk(0%, 2.4%, 86.5%, 50.6%)
CIE-LABlab(50.27, -10.77, 51.92)
CIE-LCHlch(50.27, 53.02, 101.72°)
OKLaboklab(56.76% -0.0358 0.1115)
OKLCHoklch(56.76% 0.117 107.8)
XYZxyz(15.7890, 18.6426, 3.2969)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7B11 #11147E
analogous
#7E4511 #7E7B11 #4A7E11
triadic
#7E7B11 #117E7B #7B117E
tetradic
#7E7B11 #117E45 #11147E #7E114A
square
#7E7B11 #117E45 #11147E #7E114A
split-complementary
#7E7B11 #114A7E #45117E
monochromatic
#1B1A04 #48460A #7E7B11 #B4B018 #E2DD27

Accessibility & contrast

On white

4.44
#7E7B11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7E7B11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7B11
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7B11#FFFFFF#000000##000000
##7E7B111.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#88791C
Tritanopia (blue-blind)
#887268
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e7b11;
/* rgb */ color: rgb(126, 123, 17);
/* oklch */ color: oklch(56.8% 0.117 107.8);
Tailwind
colors: {
  custom: {
    50: '#a7a05c',
    500: '#7e7b11',
    950: '#000000',
  },
}
SCSS
$custom: #7e7b11;
$custom-light: #a7a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7b11",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 17
  },
  "hsl": {
    "h": 58.349,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.1171,
    "h": 107.8
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#7E7B11
secondary
#373AB4
accent
#3AF335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7B11

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

Preview Lab → · Contrast checker → · Palette generator →

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