#7E7514#7E7514

#7E7514 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.110 H 103.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7514
RGBrgb(126, 117, 20)
HSLhsl(55, 73%, 29%)
HSVhsv(55, 84%, 49%)
CMYKcmyk(0%, 7.1%, 84.1%, 50.6%)
CIE-LABlab(48.52, -7.36, 49.60)
CIE-LCHlch(48.52, 50.14, 98.44°)
OKLaboklab(55.37% -0.0261 0.107)
OKLCHoklch(55.37% 0.11 103.7)
XYZxyz(15.0924, 17.2094, 3.1884)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7514 #141D7E
analogous
#7E4014 #7E7514 #527E14
triadic
#7E7514 #147E75 #75147E
tetradic
#7E7514 #147E40 #141D7E #7E1452
square
#7E7514 #147E40 #141D7E #7E1452
split-complementary
#7E7514 #14527E #40147E
monochromatic
#1A1904 #49440C #7E7514 #B3A61C #DECF2E

Accessibility & contrast

On white

4.73
#7E7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7E7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7514
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7514#FFFFFF#000000##FFFFFF
##7E75141.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#886C63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e7514;
/* rgb */ color: rgb(126, 117, 20);
/* oklch */ color: oklch(55.4% 0.110 103.7);
Tailwind
colors: {
  custom: {
    50: '#a79c5c',
    500: '#7e7514',
    950: '#000000',
  },
}
SCSS
$custom: #7e7514;
$custom-light: #a79c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7514",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 54.906,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.11017,
    "h": 103.7
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#7E7514
secondary
#3A45B3
accent
#48EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7514

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

Preview Lab → · Contrast checker → · Palette generator →

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