#7E7011#7E7011

#7E7011 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.107 H 100.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E7011
RGBrgb(126, 112, 17)
HSLhsl(52, 76%, 28%)
HSVhsv(52, 87%, 49%)
CMYKcmyk(0%, 11.1%, 86.5%, 50.6%)
CIE-LABlab(47.06, -4.64, 49.22)
CIE-LCHlch(47.06, 49.44, 95.39°)
OKLaboklab(54.21% -0.0187 0.1056)
OKLCHoklch(54.21% 0.107 100.1)
XYZxyz(14.5003, 16.0652, 2.8673)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7011 #111F7E
analogous
#7E3A11 #7E7011 #557E11
triadic
#7E7011 #117E70 #70117E
tetradic
#7E7011 #117E3A #111F7E #7E1155
square
#7E7011 #117E3A #111F7E #7E1155
split-complementary
#7E7011 #11557E #3A117E
monochromatic
#1B1804 #48400A #7E7011 #B4A018 #E2CA27

Accessibility & contrast

On white

4.98
#7E7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7E7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7011
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7011#FFFFFF#000000##FFFFFF
##7E70111.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#807219
Tritanopia (blue-blind)
#89675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7011;
/* rgb */ color: rgb(126, 112, 17);
/* oklch */ color: oklch(54.2% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#a7985a',
    500: '#7e7011',
    950: '#000000',
  },
}
SCSS
$custom: #7e7011;
$custom-light: #a7985a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7011",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 52.294,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.10724,
    "h": 100.1
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#7E7011
secondary
#3747B4
accent
#4DF335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7011

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

Preview Lab → · Contrast checker → · Palette generator →

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