#7E7617#7E7617

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

Color values

HEX#7E7617
RGBrgb(126, 118, 23)
HSLhsl(55, 69%, 29%)
HSVhsv(55, 82%, 49%)
CMYKcmyk(0%, 6.3%, 81.7%, 50.6%)
CIE-LABlab(48.83, -7.81, 48.94)
CIE-LCHlch(48.83, 49.55, 99.07°)
OKLaboklab(55.62% -0.0271 0.1062)
OKLCHoklch(55.62% 0.11 104.3)
XYZxyz(15.2380, 17.4550, 3.3769)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7617 #171F7E
analogous
#7E4317 #7E7617 #537E17
triadic
#7E7617 #177E76 #76177E
tetradic
#7E7617 #177E43 #171F7E #7E1753
square
#7E7617 #177E43 #171F7E #7E1753
split-complementary
#7E7617 #17537E #43177E
monochromatic
#1A1805 #4A460E #7E7617 #B2A620 #DACD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7617#FFFFFF#000000##FFFFFF
##7E76171.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)
#84761F
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7617;
/* rgb */ color: rgb(126, 118, 23);
/* oklch */ color: oklch(55.6% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#a79d5e',
    500: '#7e7617',
    950: '#000000',
  },
}
SCSS
$custom: #7e7617;
$custom-light: #a79d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7617",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 55.34,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.10962,
    "h": 104.3
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#7E7617
secondary
#3E47B3
accent
#4AEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7617

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

Preview Lab → · Contrast checker → · Palette generator →

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