#7B9F18#7B9F18

#7B9F18 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.2% C 0.156 H 124.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7B9F18
RGBrgb(123, 159, 24)
HSLhsl(76, 74%, 36%)
HSVhsv(76, 85%, 62%)
CMYKcmyk(22.6%, 0%, 84.9%, 37.6%)
CIE-LABlab(60.85, -30.25, 59.09)
CIE-LCHlch(60.85, 66.38, 117.11°)
OKLaboklab(65.22% -0.0886 0.1283)
OKLCHoklch(65.22% 0.156 124.6)
XYZxyz(20.7316, 29.0729, 5.3834)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9F18 #3C189F
analogous
#9F7F18 #7B9F18 #379F18
triadic
#7B9F18 #187B9F #9F187B
tetradic
#7B9F18 #189F7F #3C189F #9F1837
square
#7B9F18 #189F7F #3C189F #9F1837
split-complementary
#7B9F18 #18379F #7F189F
monochromatic
#293508 #526A10 #7B9F18 #A4D420 #BCE44D

Accessibility & contrast

On white

3.08
#7B9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7B9F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9F18
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9F18#FFFFFF#000000##000000
##7B9F181.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A49228
Tritanopia (blue-blind)
#819787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b9f18;
/* rgb */ color: rgb(123, 159, 24);
/* oklch */ color: oklch(65.2% 0.156 124.6);
Tailwind
colors: {
  custom: {
    50: '#a5bb64',
    500: '#7b9f18',
    950: '#000000',
  },
}
SCSS
$custom: #7b9f18;
$custom-light: #a5bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9f18",
  "rgb": {
    "r": 123,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 76,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65223,
    "c": 0.15593,
    "h": 124.6
  },
  "luminance": 0.29073
}

Semantic roles & 50–950 ramp

primary
#7B9F18
secondary
#6D4DC6
accent
#37F069
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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