#7B9323#7B9323

#7B9323 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.3% C 0.136 H 121.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7B9323
RGBrgb(123, 147, 35)
HSLhsl(73, 62%, 36%)
HSVhsv(73, 76%, 58%)
CMYKcmyk(16.3%, 0%, 76.2%, 42.4%)
CIE-LABlab(57.27, -23.95, 52.58)
CIE-LCHlch(57.27, 57.78, 114.48°)
OKLaboklab(62.35% -0.0706 0.1163)
OKLCHoklch(62.35% 0.136 121.3)
XYZxyz(18.9058, 25.1997, 5.4578)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9323 #3B2393
analogous
#937323 #7B9323 #439323
triadic
#7B9323 #237B93 #93237B
tetradic
#7B9323 #239373 #3B2393 #932343
square
#7B9323 #239373 #3B2393 #932343
split-complementary
#7B9323 #234393 #732393
monochromatic
#28300B #526217 #7B9323 #A4C42F #BCD759

Accessibility & contrast

On white

3.48
#7B9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7B9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9323
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9323#FFFFFF#000000##000000
##7B93231.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A09
Deuteranopia (green-blind)
#998A2D
Tritanopia (blue-blind)
#828B7E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9323;
/* rgb */ color: rgb(123, 147, 35);
/* oklch */ color: oklch(62.3% 0.136 121.3);
Tailwind
colors: {
  custom: {
    50: '#a4b267',
    500: '#7b9323',
    950: '#000000',
  },
}
SCSS
$custom: #7b9323;
$custom-light: #a4b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9323",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 72.857,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.1361,
    "h": 121.3
  },
  "luminance": 0.252
}

Semantic roles & 50–950 ramp

primary
#7B9323
secondary
#6C56BC
accent
#43E566
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9323

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

Preview Lab → · Contrast checker → · Palette generator →

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