#7E8219#7E8219

#7E8219 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.4% C 0.121 H 111.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E8219
RGBrgb(126, 130, 25)
HSLhsl(62, 68%, 30%)
HSVhsv(62, 81%, 51%)
CMYKcmyk(3.1%, 0%, 80.8%, 49%)
CIE-LABlab(52.37, -14.28, 51.45)
CIE-LCHlch(52.37, 53.40, 105.52°)
OKLaboklab(58.45% -0.045 0.112)
OKLCHoklch(58.45% 0.121 111.9)
XYZxyz(16.7629, 20.4715, 3.9879)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8219 #1D1982
analogous
#825219 #7E8219 #498219
triadic
#7E8219 #197E82 #82197E
tetradic
#7E8219 #198252 #1D1982 #821949
square
#7E8219 #198252 #1D1982 #821949
split-complementary
#7E8219 #194982 #521982
monochromatic
#1A1B05 #4C4F0F #7E8219 #B0B523 #D3D93C

Accessibility & contrast

On white

4.12
#7E8219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7E8219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8219
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8219#FFFFFF#000000##000000
##7E82191.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#87796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e8219;
/* rgb */ color: rgb(126, 130, 25);
/* oklch */ color: oklch(58.4% 0.121 111.9);
Tailwind
colors: {
  custom: {
    50: '#a7a660',
    500: '#7e8219',
    950: '#000000',
  },
}
SCSS
$custom: #7e8219;
$custom-light: #a7a660;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8219",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 62.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.12071,
    "h": 111.9
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#7E8219
secondary
#4541B6
accent
#3DEB44
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7E8219

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

Preview Lab → · Contrast checker → · Palette generator →

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