#7E9522#7E9522

#7E9522 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.1% C 0.138 H 120.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7E9522
RGBrgb(126, 149, 34)
HSLhsl(72, 63%, 36%)
HSVhsv(72, 77%, 58%)
CMYKcmyk(15.4%, 0%, 77.2%, 41.6%)
CIE-LABlab(58.08, -23.71, 53.77)
CIE-LCHlch(58.08, 58.76, 113.80°)
OKLaboklab(63.05% -0.0702 0.1186)
OKLCHoklch(63.05% 0.138 120.6)
XYZxyz(19.6407, 26.0460, 5.5058)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9522 #392295
analogous
#957222 #7E9522 #449522
triadic
#7E9522 #227E95 #95227E
tetradic
#7E9522 #229572 #392295 #952244
square
#7E9522 #229572 #392295 #952244
split-complementary
#7E9522 #224495 #722295
monochromatic
#2A310B #546317 #7E9522 #A8C72D #BFD958

Accessibility & contrast

On white

3.38
#7E9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7E9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9522
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9522#FFFFFF#000000##000000
##7E95221.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C05
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#858D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9522;
/* rgb */ color: rgb(126, 149, 34);
/* oklch */ color: oklch(63.1% 0.138 120.6);
Tailwind
colors: {
  custom: {
    50: '#a7b467',
    500: '#7e9522',
    950: '#000000',
  },
}
SCSS
$custom: #7e9522;
$custom-light: #a7b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9522",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 72,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63054,
    "c": 0.13781,
    "h": 120.6
  },
  "luminance": 0.26046
}

Semantic roles & 50–950 ramp

primary
#7E9522
secondary
#6A56BD
accent
#42E663
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9522

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

Preview Lab → · Contrast checker → · Palette generator →

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