#7E8B19#7E8B19

#7E8B19 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.6% C 0.131 H 116.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7E8B19
RGBrgb(126, 139, 25)
HSLhsl(67, 70%, 32%)
HSVhsv(67, 82%, 55%)
CMYKcmyk(9.4%, 0%, 82%, 45.5%)
CIE-LABlab(55.04, -19.02, 53.83)
CIE-LCHlch(55.04, 57.09, 109.46°)
OKLaboklab(60.59% -0.0581 0.1171)
OKLCHoklch(60.59% 0.131 116.4)
XYZxyz(18.0128, 22.9713, 4.4045)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8B19 #26198B
analogous
#8B5F19 #7E8B19 #458B19
triadic
#7E8B19 #197E8B #8B197E
tetradic
#7E8B19 #198B5F #26198B #8B1945
square
#7E8B19 #198B5F #26198B #8B1945
split-complementary
#7E8B19 #19458B #5F198B
monochromatic
#202306 #4F5710 #7E8B19 #ADBF22 #CBDD41

Accessibility & contrast

On white

3.75
#7E8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7E8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8B19
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8B19#FFFFFF#000000##000000
##7E8B191.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#878376
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e8b19;
/* rgb */ color: rgb(126, 139, 25);
/* oklch */ color: oklch(60.6% 0.131 116.4);
Tailwind
colors: {
  custom: {
    50: '#a7ac62',
    500: '#7e8b19',
    950: '#000000',
  },
}
SCSS
$custom: #7e8b19;
$custom-light: #a7ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8b19",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 66.842,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.13069,
    "h": 116.4
  },
  "luminance": 0.22971
}

Semantic roles & 50–950 ramp

primary
#7E8B19
secondary
#5042BE
accent
#3BEC50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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