#7E7117#7E7117

#7E7117 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.105 H 100.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7E7117
RGBrgb(126, 113, 23)
HSLhsl(52, 69%, 29%)
HSVhsv(52, 82%, 49%)
CMYKcmyk(0%, 10.3%, 81.7%, 50.6%)
CIE-LABlab(47.38, -5.00, 47.64)
CIE-LCHlch(47.38, 47.90, 95.99°)
OKLaboklab(54.47% -0.0192 0.1034)
OKLCHoklch(54.47% 0.105 100.5)
XYZxyz(14.6647, 16.3084, 3.1859)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7117 #17247E
analogous
#7E3E17 #7E7117 #587E17
triadic
#7E7117 #177E71 #71177E
tetradic
#7E7117 #177E3E #17247E #7E1758
square
#7E7117 #177E3E #17247E #7E1758
split-complementary
#7E7117 #17587E #3E177E
monochromatic
#1A1705 #4A430E #7E7117 #B29F20 #DAC535

Accessibility & contrast

On white

4.93
#7E7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7E7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7117
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7117#FFFFFF#000000##FFFFFF
##7E71171.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#886860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7117;
/* rgb */ color: rgb(126, 113, 23);
/* oklch */ color: oklch(54.5% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#a7995d',
    500: '#7e7117',
    950: '#000000',
  },
}
SCSS
$custom: #7e7117;
$custom-light: #a7995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7117",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 52.427,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.1052,
    "h": 100.5
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#7E7117
secondary
#3E4DB3
accent
#52EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E7117

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

Preview Lab → · Contrast checker → · Palette generator →

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