#7E7615#7E7615

#7E7615 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.111 H 104.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E7615
RGBrgb(126, 118, 21)
HSLhsl(55, 71%, 29%)
HSVhsv(55, 83%, 49%)
CMYKcmyk(0%, 6.3%, 83.3%, 50.6%)
CIE-LABlab(48.82, -7.88, 49.56)
CIE-LCHlch(48.82, 50.18, 99.04°)
OKLaboklab(55.61% -0.0275 0.1071)
OKLCHoklch(55.61% 0.111 104.4)
XYZxyz(15.2187, 17.4473, 3.2753)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7615 #151D7E
analogous
#7E4215 #7E7615 #527E15
triadic
#7E7615 #157E76 #76157E
tetradic
#7E7615 #157E42 #151D7E #7E1552
square
#7E7615 #157E42 #151D7E #7E1552
split-complementary
#7E7615 #15527E #42157E
monochromatic
#1A1904 #4A450C #7E7615 #B2A71E #DDD031

Accessibility & contrast

On white

4.68
#7E7615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E7615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7615
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7615#FFFFFF#000000##FFFFFF
##7E76151.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#886D64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7615;
/* rgb */ color: rgb(126, 118, 21);
/* oklch */ color: oklch(55.6% 0.111 104.4);
Tailwind
colors: {
  custom: {
    50: '#a79d5d',
    500: '#7e7615',
    950: '#000000',
  },
}
SCSS
$custom: #7e7615;
$custom-light: #a79d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7615",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 55.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.11061,
    "h": 104.4
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#7E7615
secondary
#3C45B3
accent
#47EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7615

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

Preview Lab → · Contrast checker → · Palette generator →

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