#7B9418#7B9418

#7B9418 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.5% C 0.143 H 121.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7B9418
RGBrgb(123, 148, 24)
HSLhsl(72, 72%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(16.9%, 0%, 83.8%, 42%)
CIE-LABlab(57.52, -24.93, 56.20)
CIE-LCHlch(57.52, 61.48, 113.92°)
OKLaboklab(62.53% -0.0741 0.1221)
OKLCHoklch(62.53% 0.143 121.3)
XYZxyz(18.9235, 25.4567, 4.7807)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9418 #311894
analogous
#946F18 #7B9418 #3D9418
triadic
#7B9418 #187B94 #94187B
tetradic
#7B9418 #18946F #311894 #94183D
square
#7B9418 #18946F #311894 #94183D
split-complementary
#7B9418 #183D94 #6F1894
monochromatic
#232B07 #4F5F0F #7B9418 #A7C921 #C2E145

Accessibility & contrast

On white

3.45
#7B9418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7B9418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9418
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9418#FFFFFF#000000##000000
##7B94181.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#828C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b9418;
/* rgb */ color: rgb(123, 148, 24);
/* oklch */ color: oklch(62.5% 0.143 121.3);
Tailwind
colors: {
  custom: {
    50: '#a5b362',
    500: '#7b9418',
    950: '#000000',
  },
}
SCSS
$custom: #7b9418;
$custom-light: #a5b362;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9418",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 24
  },
  "hsl": {
    "h": 72.097,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.14284,
    "h": 121.3
  },
  "luminance": 0.25457
}

Semantic roles & 50–950 ramp

primary
#7B9418
secondary
#5F46C2
accent
#39EF5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9418

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

Preview Lab → · Contrast checker → · Palette generator →

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