#7B9518#7B9518

#7B9518 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.15:1 contrast (WCAG AA passes).

Color values

HEX#7B9518
RGBrgb(123, 149, 24)
HSLhsl(72, 72%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(17.4%, 0%, 83.9%, 41.6%)
CIE-LABlab(57.82, -25.42, 56.46)
CIE-LCHlch(57.82, 61.92, 114.24°)
OKLaboklab(62.77% -0.0755 0.1227)
OKLCHoklch(62.77% 0.144 121.6)
XYZxyz(19.0810, 25.7718, 4.8332)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9518 #321895
analogous
#957118 #7B9518 #3D9518
triadic
#7B9518 #187B95 #95187B
tetradic
#7B9518 #189571 #321895 #95183D
square
#7B9518 #189571 #321895 #95183D
split-complementary
#7B9518 #183D95 #711895
monochromatic
#242C07 #4F6010 #7B9518 #A7CA20 #C1E146

Accessibility & contrast

On white

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

On black

6.15
#7B9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9518
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9518#FFFFFF#000000##000000
##7B95181.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9518;
/* rgb */ color: rgb(123, 149, 24);
/* oklch */ color: oklch(62.8% 0.144 121.6);
Tailwind
colors: {
  custom: {
    50: '#a5b463',
    500: '#7b9518',
    950: '#000000',
  },
}
SCSS
$custom: #7b9518;
$custom-light: #a5b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9518",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 72.48,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.14403,
    "h": 121.6
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

primary
#7B9518
secondary
#6046C2
accent
#39EF5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9518

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

Preview Lab → · Contrast checker → · Palette generator →

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