#7B9423#7B9423

#7B9423 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.6% C 0.137 H 121.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7B9423
RGBrgb(123, 148, 35)
HSLhsl(73, 62%, 36%)
HSVhsv(73, 76%, 58%)
CMYKcmyk(16.9%, 0%, 76.4%, 42%)
CIE-LABlab(57.57, -24.45, 52.87)
CIE-LCHlch(57.57, 58.25, 114.81°)
OKLaboklab(62.59% -0.072 0.1169)
OKLCHoklch(62.59% 0.137 121.6)
XYZxyz(19.0620, 25.5121, 5.5099)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9423 #3C2394
analogous
#947423 #7B9423 #429423
triadic
#7B9423 #237B94 #94237B
tetradic
#7B9423 #239474 #3C2394 #942342
square
#7B9423 #239474 #3C2394 #942342
split-complementary
#7B9423 #234294 #742394
monochromatic
#29310C #526317 #7B9423 #A4C52F #BCD85A

Accessibility & contrast

On white

3.44
#7B9423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7B9423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9423
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9423#FFFFFF#000000##000000
##7B94231.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B09
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#828C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b9423;
/* rgb */ color: rgb(123, 148, 35);
/* oklch */ color: oklch(62.6% 0.137 121.6);
Tailwind
colors: {
  custom: {
    50: '#a4b367',
    500: '#7b9423',
    950: '#000000',
  },
}
SCSS
$custom: #7b9423;
$custom-light: #a4b367;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9423",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 73.274,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6259,
    "c": 0.13733,
    "h": 121.6
  },
  "luminance": 0.25512
}

Semantic roles & 50–950 ramp

primary
#7B9423
secondary
#6D57BC
accent
#43E567
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9423

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

Preview Lab → · Contrast checker → · Palette generator →

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