#7E7710#7E7710

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

Color values

HEX#7E7710
RGBrgb(126, 119, 16)
HSLhsl(56, 77%, 28%)
HSVhsv(56, 87%, 49%)
CMYKcmyk(0%, 5.6%, 87.3%, 50.6%)
CIE-LABlab(49.09, -8.60, 51.19)
CIE-LCHlch(49.09, 51.91, 99.53°)
OKLaboklab(55.82% -0.0299 0.1097)
OKLCHoklch(55.82% 0.114 105.2)
XYZxyz(15.2952, 17.6673, 3.0946)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7710 #10177E
analogous
#7E4010 #7E7710 #4E7E10
triadic
#7E7710 #107E77 #77107E
tetradic
#7E7710 #107E40 #10177E #7E104E
square
#7E7710 #107E40 #10177E #7E104E
split-complementary
#7E7710 #104E7E #40107E
monochromatic
#1B1A03 #484409 #7E7710 #B4AA17 #E3D725

Accessibility & contrast

On white

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

On black

4.53
#7E7710 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E7710#FFFFFF#000000##FFFFFF
##7E77101.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#85761A
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7710;
/* rgb */ color: rgb(126, 119, 16);
/* oklch */ color: oklch(55.8% 0.114 105.2);
Tailwind
colors: {
  custom: {
    50: '#a79d5b',
    500: '#7e7710',
    950: '#000000',
  },
}
SCSS
$custom: #7e7710;
$custom-light: #a79d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7710",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 16
  },
  "hsl": {
    "h": 56.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.11369,
    "h": 105.2
  },
  "luminance": 0.17667
}

Semantic roles & 50–950 ramp

primary
#7E7710
secondary
#363EB4
accent
#40F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7710

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

Preview Lab → · Contrast checker → · Palette generator →

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