#7E9523#7E9523

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

Color values

HEX#7E9523
RGBrgb(126, 149, 35)
HSLhsl(72, 62%, 36%)
HSVhsv(72, 77%, 58%)
CMYKcmyk(15.4%, 0%, 76.5%, 41.6%)
CIE-LABlab(58.09, -23.66, 53.43)
CIE-LCHlch(58.09, 58.44, 113.88°)
OKLaboklab(63.06% -0.07 0.118)
OKLCHoklch(63.06% 0.137 120.7)
XYZxyz(19.6554, 26.0519, 5.5828)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9523 #3A2395
analogous
#957323 #7E9523 #459523
triadic
#7E9523 #237E95 #95237E
tetradic
#7E9523 #239573 #3A2395 #952345
square
#7E9523 #239573 #3A2395 #952345
split-complementary
#7E9523 #234595 #732395
monochromatic
#2A320C #546317 #7E9523 #A8C72F #BFD85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9523#FFFFFF#000000##000000
##7E95231.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)
#9F8C08
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#858D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9523;
/* rgb */ color: rgb(126, 149, 35);
/* oklch */ color: oklch(63.1% 0.137 120.7);
Tailwind
colors: {
  custom: {
    50: '#a7b467',
    500: '#7e9523',
    950: '#000000',
  },
}
SCSS
$custom: #7e9523;
$custom-light: #a7b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9523",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 72.105,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63061,
    "c": 0.13725,
    "h": 120.7
  },
  "luminance": 0.26052
}

Semantic roles & 50–950 ramp

primary
#7E9523
secondary
#6C57BD
accent
#43E563
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9523

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

Preview Lab → · Contrast checker → · Palette generator →

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