#7E7510#7E7510

#7E7510 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.112 H 103.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7510
RGBrgb(126, 117, 16)
HSLhsl(55, 77%, 28%)
HSVhsv(55, 87%, 49%)
CMYKcmyk(0%, 7.1%, 87.3%, 50.6%)
CIE-LABlab(48.51, -7.49, 50.70)
CIE-LCHlch(48.51, 51.25, 98.40°)
OKLaboklab(55.35% -0.0268 0.1086)
OKLCHoklch(55.35% 0.112 103.8)
XYZxyz(15.0597, 17.1963, 3.0161)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7510 #10197E
analogous
#7E3E10 #7E7510 #507E10
triadic
#7E7510 #107E75 #75107E
tetradic
#7E7510 #107E3E #10197E #7E1050
square
#7E7510 #107E3E #10197E #7E1050
split-complementary
#7E7510 #10507E #3E107E
monochromatic
#1B1903 #484309 #7E7510 #B4A717 #E3D425

Accessibility & contrast

On white

4.73
#7E7510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7E7510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7510
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7510#FFFFFF#000000##FFFFFF
##7E75101.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751A
Tritanopia (blue-blind)
#886C63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e7510;
/* rgb */ color: rgb(126, 117, 16);
/* oklch */ color: oklch(55.4% 0.112 103.8);
Tailwind
colors: {
  custom: {
    50: '#a79c5b',
    500: '#7e7510',
    950: '#000000',
  },
}
SCSS
$custom: #7e7510;
$custom-light: #a79c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7510",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 55.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55354,
    "c": 0.11188,
    "h": 103.8
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#7E7510
secondary
#3640B4
accent
#44F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7510

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

Preview Lab → · Contrast checker → · Palette generator →

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