#7E7919#7E7919

#7E7919 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.111 H 106.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E7919
RGBrgb(126, 121, 25)
HSLhsl(57, 67%, 30%)
HSVhsv(57, 80%, 49%)
CMYKcmyk(0%, 4%, 80.2%, 50.6%)
CIE-LABlab(49.72, -9.39, 49.07)
CIE-LCHlch(49.72, 49.96, 100.84°)
OKLaboklab(56.33% -0.0314 0.1069)
OKLCHoklch(56.33% 0.111 106.4)
XYZxyz(15.6177, 18.1811, 3.6062)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7919 #191E7E
analogous
#7E4719 #7E7919 #507E19
triadic
#7E7919 #197E79 #79197E
tetradic
#7E7919 #197E47 #191E7E #7E1950
square
#7E7919 #197E47 #191E7E #7E1950
split-complementary
#7E7919 #19507E #47197E
monochromatic
#1A1905 #4B480F #7E7919 #B1AA23 #D8D03A

Accessibility & contrast

On white

4.53
#7E7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E7919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7919
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7919#FFFFFF#000000##000000
##7E79191.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e7919;
/* rgb */ color: rgb(126, 121, 25);
/* oklch */ color: oklch(56.3% 0.111 106.4);
Tailwind
colors: {
  custom: {
    50: '#a79f5f',
    500: '#7e7919',
    950: '#000000',
  },
}
SCSS
$custom: #7e7919;
$custom-light: #a79f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7919",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 57.03,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.11143,
    "h": 106.4
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#7E7919
secondary
#4146B2
accent
#47EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7919

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

Preview Lab → · Contrast checker → · Palette generator →

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