#7E8319#7E8319

#7E8319 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.122 H 112.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7E8319
RGBrgb(126, 131, 25)
HSLhsl(63, 68%, 31%)
HSVhsv(63, 81%, 51%)
CMYKcmyk(3.8%, 0%, 80.9%, 48.6%)
CIE-LABlab(52.66, -14.82, 51.72)
CIE-LCHlch(52.66, 53.80, 105.99°)
OKLaboklab(58.68% -0.0465 0.1126)
OKLCHoklch(58.68% 0.122 112.4)
XYZxyz(16.8965, 20.7388, 4.0324)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8319 #1E1983
analogous
#835319 #7E8319 #498319
triadic
#7E8319 #197E83 #83197E
tetradic
#7E8319 #198353 #1E1983 #831949
square
#7E8319 #198353 #1E1983 #831949
split-complementary
#7E8319 #194983 #531983
monochromatic
#1B1C05 #4D500F #7E8319 #AFB623 #D2DA3D

Accessibility & contrast

On white

4.08
#7E8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7E8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8319
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8319#FFFFFF#000000##000000
##7E83191.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#877A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8319;
/* rgb */ color: rgb(126, 131, 25);
/* oklch */ color: oklch(58.7% 0.122 112.4);
Tailwind
colors: {
  custom: {
    50: '#a7a660',
    500: '#7e8319',
    950: '#000000',
  },
}
SCSS
$custom: #7e8319;
$custom-light: #a7a660;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8319",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 62.83,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58684,
    "c": 0.12178,
    "h": 112.4
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#7E8319
secondary
#4741B7
accent
#3DEB45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7E8319

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

Preview Lab → · Contrast checker → · Palette generator →

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