#7E7718#7E7718

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

Color values

HEX#7E7718
RGBrgb(126, 119, 24)
HSLhsl(56, 68%, 29%)
HSVhsv(56, 81%, 49%)
CMYKcmyk(0%, 5.6%, 81%, 50.6%)
CIE-LABlab(49.13, -8.33, 48.87)
CIE-LCHlch(49.13, 49.58, 99.67°)
OKLaboklab(55.86% -0.0285 0.1063)
OKLCHoklch(55.86% 0.11 105)
XYZxyz(15.3666, 17.6958, 3.4702)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7718 #181F7E
analogous
#7E4418 #7E7718 #527E18
triadic
#7E7718 #187E77 #77187E
tetradic
#7E7718 #187E44 #181F7E #7E1852
square
#7E7718 #187E44 #181F7E #7E1852
split-complementary
#7E7718 #18527E #44187E
monochromatic
#1A1805 #4B460E #7E7718 #B1A822 #D9CE37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7718#FFFFFF#000000##FFFFFF
##7E77181.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)
#857720
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7718;
/* rgb */ color: rgb(126, 119, 24);
/* oklch */ color: oklch(55.9% 0.110 105.0);
Tailwind
colors: {
  custom: {
    50: '#a79d5e',
    500: '#7e7718',
    950: '#000000',
  },
}
SCSS
$custom: #7e7718;
$custom-light: #a79d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7718",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 55.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.11004,
    "h": 105
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

primary
#7E7718
secondary
#3F47B2
accent
#49EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7718

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

Preview Lab → · Contrast checker → · Palette generator →

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