#7E7019#7E7019

#7E7019 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.103 H 99.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E7019
RGBrgb(126, 112, 25)
HSLhsl(52, 67%, 30%)
HSVhsv(52, 80%, 49%)
CMYKcmyk(0%, 11.1%, 80.2%, 50.6%)
CIE-LABlab(47.10, -4.35, 46.70)
CIE-LCHlch(47.10, 46.90, 95.33°)
OKLaboklab(54.25% -0.0172 0.1018)
OKLCHoklch(54.25% 0.103 99.6)
XYZxyz(14.5746, 16.0949, 3.2584)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7019 #19277E
analogous
#7E3E19 #7E7019 #5A7E19
triadic
#7E7019 #197E70 #70197E
tetradic
#7E7019 #197E3E #19277E #7E195A
square
#7E7019 #197E3E #19277E #7E195A
split-complementary
#7E7019 #195A7E #3E197E
monochromatic
#1A1705 #4B430F #7E7019 #B19D23 #D8C23A

Accessibility & contrast

On white

4.98
#7E7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7E7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7019
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7019#FFFFFF#000000##FFFFFF
##7E70191.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7019;
/* rgb */ color: rgb(126, 112, 25);
/* oklch */ color: oklch(54.2% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#a7985e',
    500: '#7e7019',
    950: '#000000',
  },
}
SCSS
$custom: #7e7019;
$custom-light: #a7985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7019",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 51.683,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.10327,
    "h": 99.6
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#7E7019
secondary
#4150B2
accent
#56EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E7019

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

Preview Lab → · Contrast checker → · Palette generator →

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