#7E7715#7E7715

#7E7715 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#7E7715
RGBrgb(126, 119, 21)
HSLhsl(56, 71%, 29%)
HSVhsv(56, 83%, 49%)
CMYKcmyk(0%, 5.6%, 83.3%, 50.6%)
CIE-LABlab(49.11, -8.44, 49.81)
CIE-LCHlch(49.11, 50.52, 99.62°)
OKLaboklab(55.84% -0.029 0.1077)
OKLCHoklch(55.84% 0.112 105.1)
XYZxyz(15.3371, 17.6840, 3.3148)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7715 #151C7E
analogous
#7E4315 #7E7715 #517E15
triadic
#7E7715 #157E77 #77157E
tetradic
#7E7715 #157E43 #151C7E #7E1551
square
#7E7715 #157E43 #151C7E #7E1551
split-complementary
#7E7715 #15517E #43157E
monochromatic
#1A1904 #4A450C #7E7715 #B2A91E #DDD131

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7715#FFFFFF#000000##FFFFFF
##7E77151.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)
#85771E
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7715;
/* rgb */ color: rgb(126, 119, 21);
/* oklch */ color: oklch(55.8% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#a79d5d',
    500: '#7e7715',
    950: '#000000',
  },
}
SCSS
$custom: #7e7715;
$custom-light: #a79d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7715",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 56,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.11154,
    "h": 105.1
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#7E7715
secondary
#3C44B3
accent
#46EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7715

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

Preview Lab → · Contrast checker → · Palette generator →

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