#7E9219#7E9219

#7E9219 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.3% C 0.139 H 119.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7E9219
RGBrgb(126, 146, 25)
HSLhsl(70, 71%, 34%)
HSVhsv(70, 83%, 57%)
CMYKcmyk(13.7%, 0%, 82.9%, 42.7%)
CIE-LABlab(57.14, -22.59, 55.68)
CIE-LCHlch(57.14, 60.09, 112.09°)
OKLaboklab(62.28% -0.0679 0.121)
OKLCHoklch(62.28% 0.139 119.3)
XYZxyz(19.0590, 25.0637, 4.7533)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9219 #2D1992
analogous
#926919 #7E9219 #419219
triadic
#7E9219 #197E92 #92197E
tetradic
#7E9219 #199269 #2D1992 #921941
square
#7E9219 #199269 #2D1992 #921941
split-complementary
#7E9219 #194192 #691992
monochromatic
#242907 #515E10 #7E9219 #ABC622 #C6DF46

Accessibility & contrast

On white

3.49
#7E9219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7E9219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9219
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9219#FFFFFF#000000##000000
##7E92191.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#868A7C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e9219;
/* rgb */ color: rgb(126, 146, 25);
/* oklch */ color: oklch(62.3% 0.139 119.3);
Tailwind
colors: {
  custom: {
    50: '#a7b163',
    500: '#7e9219',
    950: '#000000',
  },
}
SCSS
$custom: #7e9219;
$custom-light: #a7b163;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9219",
  "rgb": {
    "r": 126,
    "g": 146,
    "b": 25
  },
  "hsl": {
    "h": 69.917,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.13877,
    "h": 119.3
  },
  "luminance": 0.25064
}

Semantic roles & 50–950 ramp

primary
#7E9219
secondary
#5A46C1
accent
#3AEE58
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9219

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

Preview Lab → · Contrast checker → · Palette generator →

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