#7B9519#7B9519

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

Color values

HEX#7B9519
RGBrgb(123, 149, 25)
HSLhsl(73, 71%, 34%)
HSVhsv(73, 83%, 58%)
CMYKcmyk(17.4%, 0%, 83.2%, 41.6%)
CIE-LABlab(57.82, -25.38, 56.20)
CIE-LCHlch(57.82, 61.66, 114.31°)
OKLaboklab(62.78% -0.0753 0.1223)
OKLCHoklch(62.78% 0.144 121.6)
XYZxyz(19.0916, 25.7760, 4.8890)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9519 #331995
analogous
#957119 #7B9519 #3D9519
triadic
#7B9519 #197B95 #95197B
tetradic
#7B9519 #199571 #331995 #95193D
square
#7B9519 #199571 #331995 #95193D
split-complementary
#7B9519 #193D95 #711995
monochromatic
#242C07 #506110 #7B9519 #A6C922 #C0E048

Accessibility & contrast

On white

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

On black

6.16
#7B9519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9519
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9519#FFFFFF#000000##000000
##7B95191.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9519;
/* rgb */ color: rgb(123, 149, 25);
/* oklch */ color: oklch(62.8% 0.144 121.6);
Tailwind
colors: {
  custom: {
    50: '#a5b463',
    500: '#7b9519',
    950: '#000000',
  },
}
SCSS
$custom: #7b9519;
$custom-light: #a5b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9519",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 25
  },
  "hsl": {
    "h": 72.581,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.1436,
    "h": 121.6
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#7B9519
secondary
#6248C2
accent
#3AEE60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9519

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

Preview Lab → · Contrast checker → · Palette generator →

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