#7B9523#7B9523

#7B9523 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.139 H 122.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7B9523
RGBrgb(123, 149, 35)
HSLhsl(74, 62%, 36%)
HSVhsv(74, 77%, 58%)
CMYKcmyk(17.4%, 0%, 76.5%, 41.6%)
CIE-LABlab(57.87, -24.94, 53.16)
CIE-LCHlch(57.87, 58.72, 115.14°)
OKLaboklab(62.83% -0.0734 0.1175)
OKLCHoklch(62.83% 0.139 122)
XYZxyz(19.2195, 25.8272, 5.5624)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9523 #3D2395
analogous
#957623 #7B9523 #429523
triadic
#7B9523 #237B95 #95237B
tetradic
#7B9523 #239576 #3D2395 #952342
square
#7B9523 #239576 #3D2395 #952342
split-complementary
#7B9523 #234295 #762395
monochromatic
#29320C #526317 #7B9523 #A4C72F #BCD85A

Accessibility & contrast

On white

3.41
#7B9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7B9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9523
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9523#FFFFFF#000000##000000
##7B95231.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C08
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#828D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9523;
/* rgb */ color: rgb(123, 149, 35);
/* oklch */ color: oklch(62.8% 0.139 122.0);
Tailwind
colors: {
  custom: {
    50: '#a4b467',
    500: '#7b9523',
    950: '#000000',
  },
}
SCSS
$custom: #7b9523;
$custom-light: #a4b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9523",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 73.684,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62834,
    "c": 0.13855,
    "h": 122
  },
  "luminance": 0.25827
}

Semantic roles & 50–950 ramp

primary
#7B9523
secondary
#6E57BD
accent
#43E568
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9523

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

Preview Lab → · Contrast checker → · Palette generator →

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