#7E7714#7E7714

#7E7714 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.112 H 105.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E7714
RGBrgb(126, 119, 20)
HSLhsl(56, 73%, 29%)
HSVhsv(56, 84%, 49%)
CMYKcmyk(0%, 5.6%, 84.1%, 50.6%)
CIE-LABlab(49.11, -8.47, 50.10)
CIE-LCHlch(49.11, 50.82, 99.60°)
OKLaboklab(55.84% -0.0292 0.1081)
OKLCHoklch(55.84% 0.112 105.1)
XYZxyz(15.3280, 17.6804, 3.2669)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7714 #141B7E
analogous
#7E4214 #7E7714 #507E14
triadic
#7E7714 #147E77 #77147E
tetradic
#7E7714 #147E42 #141B7E #7E1450
square
#7E7714 #147E42 #141B7E #7E1450
split-complementary
#7E7714 #14507E #42147E
monochromatic
#1A1904 #49450C #7E7714 #B3A91C #DED22E

Accessibility & contrast

On white

4.63
#7E7714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7E7714 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7714
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7714#FFFFFF#000000##FFFFFF
##7E77141.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#85771D
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7714;
/* rgb */ color: rgb(126, 119, 20);
/* oklch */ color: oklch(55.8% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#a79d5d',
    500: '#7e7714',
    950: '#000000',
  },
}
SCSS
$custom: #7e7714;
$custom-light: #a79d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7714",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 20
  },
  "hsl": {
    "h": 56.038,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.112,
    "h": 105.1
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

primary
#7E7714
secondary
#3A42B3
accent
#45EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7714

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

Preview Lab → · Contrast checker → · Palette generator →

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