#7B9623#7B9623

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

Color values

HEX#7B9623
RGBrgb(123, 150, 35)
HSLhsl(74, 62%, 36%)
HSVhsv(74, 77%, 59%)
CMYKcmyk(18%, 0%, 76.7%, 41.2%)
CIE-LABlab(58.17, -25.44, 53.44)
CIE-LCHlch(58.17, 59.19, 115.45°)
OKLaboklab(63.08% -0.0747 0.1181)
OKLCHoklch(63.08% 0.14 122.3)
XYZxyz(19.3784, 26.1449, 5.6154)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9623 #3E2396
analogous
#967823 #7B9623 #429623
triadic
#7B9623 #237B96 #96237B
tetradic
#7B9623 #239678 #3E2396 #962342
square
#7B9623 #239678 #3E2396 #962342
split-complementary
#7B9623 #234296 #782396
monochromatic
#2A330C #526417 #7B9623 #A4C82F #BBD95B

Accessibility & contrast

On white

3.37
#7B9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7B9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9623
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9623#FFFFFF#000000##000000
##7B96231.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C07
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#828E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b9623;
/* rgb */ color: rgb(123, 150, 35);
/* oklch */ color: oklch(63.1% 0.140 122.3);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7b9623',
    950: '#000000',
  },
}
SCSS
$custom: #7b9623;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9623",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 74.087,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63078,
    "c": 0.13979,
    "h": 122.3
  },
  "luminance": 0.26145
}

Semantic roles & 50–950 ramp

primary
#7B9623
secondary
#6F58BD
accent
#43E569
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9623

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

Preview Lab → · Contrast checker → · Palette generator →

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