#7E7316#7E7316

#7E7316 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.107 H 102.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E7316
RGBrgb(126, 115, 22)
HSLhsl(54, 70%, 29%)
HSVhsv(54, 83%, 49%)
CMYKcmyk(0%, 8.7%, 82.5%, 50.6%)
CIE-LABlab(47.95, -6.17, 48.48)
CIE-LCHlch(47.95, 48.87, 97.25°)
OKLaboklab(54.92% -0.0226 0.105)
OKLCHoklch(54.92% 0.107 102.1)
XYZxyz(14.8805, 16.7557, 3.2093)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7316 #16217E
analogous
#7E3F16 #7E7316 #557E16
triadic
#7E7316 #167E73 #73167E
tetradic
#7E7316 #167E3F #16217E #7E1655
square
#7E7316 #167E3F #16217E #7E1655
split-complementary
#7E7316 #16557E #3F167E
monochromatic
#1A1805 #4A430D #7E7316 #B2A31F #DBCA33

Accessibility & contrast

On white

4.83
#7E7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7E7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7316
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7316#FFFFFF#000000##FFFFFF
##7E73161.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#886A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7316;
/* rgb */ color: rgb(126, 115, 22);
/* oklch */ color: oklch(54.9% 0.107 102.1);
Tailwind
colors: {
  custom: {
    50: '#a79a5d',
    500: '#7e7316',
    950: '#000000',
  },
}
SCSS
$custom: #7e7316;
$custom-light: #a79a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7316",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 53.654,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.10743,
    "h": 102.1
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#7E7316
secondary
#3D49B3
accent
#4EED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7316

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

Preview Lab → · Contrast checker → · Palette generator →

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