#7B9011#7B9011

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

Color values

HEX#7B9011
RGBrgb(123, 144, 17)
HSLhsl(70, 79%, 32%)
HSVhsv(70, 88%, 56%)
CMYKcmyk(14.6%, 0%, 88.2%, 43.5%)
CIE-LABlab(56.29, -23.16, 56.84)
CIE-LCHlch(56.29, 61.38, 112.17°)
OKLaboklab(61.53% -0.0698 0.1223)
OKLCHoklch(61.53% 0.141 119.7)
XYZxyz(18.2432, 24.1980, 4.2398)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9011 #261190
analogous
#906611 #7B9011 #3C9011
triadic
#7B9011 #117B90 #90117B
tetradic
#7B9011 #119066 #261190 #90113C
square
#7B9011 #119066 #261190 #90113C
split-complementary
#7B9011 #113C90 #661190
monochromatic
#1D2304 #4C590B #7B9011 #AAC717 #CAE734

Accessibility & contrast

On white

3.60
#7B9011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9011#FFFFFF#000000##000000
##7B90111.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9011;
/* rgb */ color: rgb(123, 144, 17);
/* oklch */ color: oklch(61.5% 0.141 119.7);
Tailwind
colors: {
  custom: {
    50: '#a5b05f',
    500: '#7b9011',
    950: '#000000',
  },
}
SCSS
$custom: #7b9011;
$custom-light: #a5b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9011",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 17
  },
  "hsl": {
    "h": 69.921,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.14083,
    "h": 119.7
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#7B9011
secondary
#5039C4
accent
#32F553
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B9011

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

Preview Lab → · Contrast checker → · Palette generator →

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