#7B9723#7B9723

#7B9723 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.3% C 0.141 H 122.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7B9723
RGBrgb(123, 151, 35)
HSLhsl(74, 62%, 36%)
HSVhsv(74, 77%, 59%)
CMYKcmyk(18.5%, 0%, 76.8%, 40.8%)
CIE-LABlab(58.48, -25.93, 53.73)
CIE-LCHlch(58.48, 59.66, 115.76°)
OKLaboklab(63.32% -0.0761 0.1188)
OKLCHoklch(63.32% 0.141 122.6)
XYZxyz(19.5386, 26.4654, 5.6688)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9723 #3F2397
analogous
#977923 #7B9723 #419723
triadic
#7B9723 #237B97 #97237B
tetradic
#7B9723 #239779 #3F2397 #972341
square
#7B9723 #239779 #3F2397 #972341
split-complementary
#7B9723 #234197 #792397
monochromatic
#2A340C #536517 #7B9723 #A3C92F #BBD95B

Accessibility & contrast

On white

3.34
#7B9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7B9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9723
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9723#FFFFFF#000000##000000
##7B97231.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D07
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#828F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9723;
/* rgb */ color: rgb(123, 151, 35);
/* oklch */ color: oklch(63.3% 0.141 122.6);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7b9723',
    950: '#000000',
  },
}
SCSS
$custom: #7b9723;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9723",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 74.483,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.14103,
    "h": 122.6
  },
  "luminance": 0.26466
}

Semantic roles & 50–950 ramp

primary
#7B9723
secondary
#7158BE
accent
#42E56A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9723

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

Preview Lab → · Contrast checker → · Palette generator →

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