#7B9015#7B9015

#7B9015 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.5% C 0.139 H 119.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B9015
RGBrgb(123, 144, 21)
HSLhsl(70, 75%, 32%)
HSVhsv(70, 85%, 56%)
CMYKcmyk(14.6%, 0%, 85.4%, 43.5%)
CIE-LABlab(56.30, -23.03, 55.92)
CIE-LCHlch(56.30, 60.48, 112.39°)
OKLaboklab(61.54% -0.0692 0.121)
OKLCHoklch(61.54% 0.139 119.8)
XYZxyz(18.2774, 24.2117, 4.4198)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9015 #2A1590
analogous
#906815 #7B9015 #3E9015
triadic
#7B9015 #157B90 #90157B
tetradic
#7B9015 #159068 #2A1590 #90153E
square
#7B9015 #159068 #2A1590 #90153E
split-complementary
#7B9015 #153E90 #681590
monochromatic
#202505 #4D5B0D #7B9015 #A9C51D #C6E33D

Accessibility & contrast

On white

3.59
#7B9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7B9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9015
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9015#FFFFFF#000000##000000
##7B90151.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#83887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b9015;
/* rgb */ color: rgb(123, 144, 21);
/* oklch */ color: oklch(61.5% 0.139 119.8);
Tailwind
colors: {
  custom: {
    50: '#a5b061',
    500: '#7b9015',
    950: '#000000',
  },
}
SCSS
$custom: #7b9015;
$custom-light: #a5b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9015",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 70.244,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.13937,
    "h": 119.8
  },
  "luminance": 0.24212
}

Semantic roles & 50–950 ramp

primary
#7B9015
secondary
#553EC2
accent
#37F156
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B9015

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

Preview Lab → · Contrast checker → · Palette generator →

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