#7E7518#7E7518

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

Color values

HEX#7E7518
RGBrgb(126, 117, 24)
HSLhsl(55, 68%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 7.1%, 81%, 50.6%)
CIE-LABlab(48.54, -7.21, 48.35)
CIE-LCHlch(48.54, 48.89, 98.48°)
OKLaboklab(55.39% -0.0253 0.1052)
OKLCHoklch(55.39% 0.108 103.6)
XYZxyz(15.1310, 17.2248, 3.3917)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7518 #18217E
analogous
#7E4218 #7E7518 #547E18
triadic
#7E7518 #187E75 #75187E
tetradic
#7E7518 #187E42 #18217E #7E1854
square
#7E7518 #187E42 #18217E #7E1854
split-complementary
#7E7518 #18547E #42187E
monochromatic
#1A1805 #4B450E #7E7518 #B1A522 #D9CB37

Accessibility & contrast

On white

4.72
#7E7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E7518
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7518#FFFFFF#000000##FFFFFF
##7E75181.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e7518;
/* rgb */ color: rgb(126, 117, 24);
/* oklch */ color: oklch(55.4% 0.108 103.6);
Tailwind
colors: {
  custom: {
    50: '#a79c5e',
    500: '#7e7518',
    950: '#000000',
  },
}
SCSS
$custom: #7e7518;
$custom-light: #a79c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7518",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 54.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.10817,
    "h": 103.6
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#7E7518
secondary
#3F4AB2
accent
#4CEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7518

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

Preview Lab → · Contrast checker → · Palette generator →

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