#7E9019#7E9019

#7E9019 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.8% C 0.136 H 118.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7E9019
RGBrgb(126, 144, 25)
HSLhsl(69, 70%, 33%)
HSVhsv(69, 83%, 56%)
CMYKcmyk(12.5%, 0%, 82.6%, 43.5%)
CIE-LABlab(56.54, -21.58, 55.15)
CIE-LCHlch(56.54, 59.22, 111.37°)
OKLaboklab(61.8% -0.0651 0.1199)
OKLCHoklch(61.8% 0.136 118.5)
XYZxyz(18.7534, 24.4525, 4.6514)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9019 #2B1990
analogous
#906619 #7E9019 #429019
triadic
#7E9019 #197E90 #90197E
tetradic
#7E9019 #199066 #2B1990 #901942
square
#7E9019 #199066 #2B1990 #901942
split-complementary
#7E9019 #194290 #661990
monochromatic
#232807 #505C10 #7E9019 #ACC422 #C7DF45

Accessibility & contrast

On white

3.57
#7E9019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7E9019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9019
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9019#FFFFFF#000000##000000
##7E90191.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#86887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9019;
/* rgb */ color: rgb(126, 144, 25);
/* oklch */ color: oklch(61.8% 0.136 118.5);
Tailwind
colors: {
  custom: {
    50: '#a7b062',
    500: '#7e9019',
    950: '#000000',
  },
}
SCSS
$custom: #7e9019;
$custom-light: #a7b062;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9019",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 69.076,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61797,
    "c": 0.13644,
    "h": 118.5
  },
  "luminance": 0.24452
}

Semantic roles & 50–950 ramp

primary
#7E9019
secondary
#5845C0
accent
#3BED56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9019

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

Preview Lab → · Contrast checker → · Palette generator →

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