#7B9618#7B9618

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

Color values

HEX#7B9618
RGBrgb(123, 150, 24)
HSLhsl(73, 72%, 34%)
HSVhsv(73, 84%, 59%)
CMYKcmyk(18%, 0%, 84%, 41.2%)
CIE-LABlab(58.12, -25.91, 56.72)
CIE-LCHlch(58.12, 62.36, 114.55°)
OKLaboklab(63.02% -0.0768 0.1232)
OKLCHoklch(63.02% 0.145 121.9)
XYZxyz(19.2399, 26.0896, 4.8862)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9618 #331896
analogous
#967218 #7B9618 #3C9618
triadic
#7B9618 #187B96 #96187B
tetradic
#7B9618 #189672 #331896 #96183C
square
#7B9618 #189672 #331896 #96183C
split-complementary
#7B9618 #183C96 #721896
monochromatic
#242C07 #506110 #7B9618 #A6CB20 #C0E247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9618#FFFFFF#000000##000000
##7B96181.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: #7b9618;
/* rgb */ color: rgb(123, 150, 24);
/* oklch */ color: oklch(63.0% 0.145 121.9);
Tailwind
colors: {
  custom: {
    50: '#a5b463',
    500: '#7b9618',
    950: '#000000',
  },
}
SCSS
$custom: #7b9618;
$custom-light: #a5b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9618",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 24
  },
  "hsl": {
    "h": 72.857,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63019,
    "c": 0.14522,
    "h": 121.9
  },
  "luminance": 0.2609
}

Semantic roles & 50–950 ramp

primary
#7B9618
secondary
#6247C3
accent
#39EF60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9618

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

Preview Lab → · Contrast checker → · Palette generator →

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