#7B9017#7B9017

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

Color values

HEX#7B9017
RGBrgb(123, 144, 23)
HSLhsl(70, 72%, 33%)
HSVhsv(70, 84%, 56%)
CMYKcmyk(14.6%, 0%, 84%, 43.5%)
CIE-LABlab(56.31, -22.97, 55.41)
CIE-LCHlch(56.31, 59.98, 112.51°)
OKLaboklab(61.55% -0.0689 0.1202)
OKLCHoklch(61.55% 0.139 119.8)
XYZxyz(18.2967, 24.2194, 4.5214)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9017 #2C1790
analogous
#906817 #7B9017 #3F9017
triadic
#7B9017 #177B90 #90177B
tetradic
#7B9017 #179068 #2C1790 #90173F
square
#7B9017 #179068 #2C1790 #90173F
split-complementary
#7B9017 #173F90 #681790
monochromatic
#212606 #4E5B0F #7B9017 #A8C51F #C5E141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9017#FFFFFF#000000##000000
##7B90171.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)
#978724
Tritanopia (blue-blind)
#83887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b9017;
/* rgb */ color: rgb(123, 144, 23);
/* oklch */ color: oklch(61.6% 0.139 119.8);
Tailwind
colors: {
  custom: {
    50: '#a5b061',
    500: '#7b9017',
    950: '#000000',
  },
}
SCSS
$custom: #7b9017;
$custom-light: #a5b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9017",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 70.413,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.13856,
    "h": 119.8
  },
  "luminance": 0.24219
}

Semantic roles & 50–950 ramp

primary
#7B9017
secondary
#5842C1
accent
#39EF58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9017

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

Preview Lab → · Contrast checker → · Palette generator →

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