#7B9617#7B9617

#7B9617 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.0% C 0.146 H 121.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7B9617
RGBrgb(123, 150, 23)
HSLhsl(73, 73%, 34%)
HSVhsv(73, 85%, 59%)
CMYKcmyk(18%, 0%, 84.7%, 41.2%)
CIE-LABlab(58.12, -25.95, 56.98)
CIE-LCHlch(58.12, 62.61, 114.48°)
OKLaboklab(63.01% -0.077 0.1236)
OKLCHoklch(63.01% 0.146 121.9)
XYZxyz(19.2297, 26.0855, 4.8324)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9617 #321796
analogous
#967217 #7B9617 #3C9617
triadic
#7B9617 #177B96 #96177B
tetradic
#7B9617 #179672 #321796 #96173C
square
#7B9617 #179672 #321796 #96173C
split-complementary
#7B9617 #173C96 #721796
monochromatic
#242C07 #4F610F #7B9617 #A7CB1F #C1E245

Accessibility & contrast

On white

3.38
#7B9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7B9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9617
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9617#FFFFFF#000000##000000
##7B96171.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9617;
/* rgb */ color: rgb(123, 150, 23);
/* oklch */ color: oklch(63.0% 0.146 121.9);
Tailwind
colors: {
  custom: {
    50: '#a5b462',
    500: '#7b9617',
    950: '#000000',
  },
}
SCSS
$custom: #7b9617;
$custom-light: #a5b462;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9617",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 72.756,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.14562,
    "h": 121.9
  },
  "luminance": 0.26086
}

Semantic roles & 50–950 ramp

primary
#7B9617
secondary
#6045C3
accent
#38F05F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9617

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

Preview Lab → · Contrast checker → · Palette generator →

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