#7E7519#7E7519

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

Color values

HEX#7E7519
RGBrgb(126, 117, 25)
HSLhsl(55, 67%, 30%)
HSVhsv(55, 80%, 49%)
CMYKcmyk(0%, 7.1%, 80.2%, 50.6%)
CIE-LABlab(48.55, -7.17, 48.02)
CIE-LCHlch(48.55, 48.55, 98.50°)
OKLaboklab(55.4% -0.0251 0.1047)
OKLCHoklch(55.4% 0.108 103.5)
XYZxyz(15.1416, 17.2290, 3.4475)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7519 #19227E
analogous
#7E4219 #7E7519 #557E19
triadic
#7E7519 #197E75 #75197E
tetradic
#7E7519 #197E42 #19227E #7E1955
square
#7E7519 #197E42 #19227E #7E1955
split-complementary
#7E7519 #19557E #42197E
monochromatic
#1A1805 #4B460F #7E7519 #B1A423 #D8CA3A

Accessibility & contrast

On white

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

On black

4.45
#7E7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E7519#FFFFFF#000000##FFFFFF
##7E75191.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e7519;
/* rgb */ color: rgb(126, 117, 25);
/* oklch */ color: oklch(55.4% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#a79c5e',
    500: '#7e7519',
    950: '#000000',
  },
}
SCSS
$custom: #7e7519;
$custom-light: #a79c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7519",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 54.653,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.10764,
    "h": 103.5
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#7E7519
secondary
#414BB2
accent
#4DEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7519

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

Preview Lab → · Contrast checker → · Palette generator →

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