#7B9316#7B9316

#7B9316 is a light, vivid yellow-green. Relative luminance 0.251; OKLCH L 62.3% C 0.142 H 120.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B9316
RGBrgb(123, 147, 22)
HSLhsl(72, 74%, 33%)
HSVhsv(72, 85%, 58%)
CMYKcmyk(16.3%, 0%, 85%, 42.4%)
CIE-LABlab(57.21, -24.50, 56.45)
CIE-LCHlch(57.21, 61.54, 113.46°)
OKLaboklab(62.28% -0.0731 0.1223)
OKLCHoklch(62.28% 0.142 120.9)
XYZxyz(18.7473, 25.1363, 4.6231)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9316 #2E1693
analogous
#936C16 #7B9316 #3C9316
triadic
#7B9316 #167B93 #93167B
tetradic
#7B9316 #16936C #2E1693 #93163C
square
#7B9316 #16936C #2E1693 #93163C
split-complementary
#7B9316 #163C93 #6C1693
monochromatic
#222906 #4E5E0E #7B9316 #A8C81E #C3E341

Accessibility & contrast

On white

3.48
#7B9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7B9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9316
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9316#FFFFFF#000000##000000
##7B93161.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8924
Tritanopia (blue-blind)
#828B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9316;
/* rgb */ color: rgb(123, 147, 22);
/* oklch */ color: oklch(62.3% 0.142 120.9);
Tailwind
colors: {
  custom: {
    50: '#a5b262',
    500: '#7b9316',
    950: '#000000',
  },
}
SCSS
$custom: #7b9316;
$custom-light: #a5b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9316",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 71.52,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62278,
    "c": 0.14248,
    "h": 120.9
  },
  "luminance": 0.25136
}

Semantic roles & 50–950 ramp

primary
#7B9316
secondary
#5B42C3
accent
#37F15B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9316

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

Preview Lab → · Contrast checker → · Palette generator →

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