#7B8919#7B8919

#7B8919 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.130 H 117.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7B8919
RGBrgb(123, 137, 25)
HSLhsl(68, 69%, 32%)
HSVhsv(68, 82%, 54%)
CMYKcmyk(10.2%, 0%, 81.8%, 46.3%)
CIE-LABlab(54.21, -19.32, 53.00)
CIE-LCHlch(54.21, 56.42, 110.03°)
OKLaboklab(59.87% -0.0587 0.1154)
OKLCHoklch(59.87% 0.13 117)
XYZxyz(17.2900, 22.1727, 4.2884)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8919 #271989
analogous
#895F19 #7B8919 #438919
triadic
#7B8919 #197B89 #89197B
tetradic
#7B8919 #19895F #271989 #891943
square
#7B8919 #19895F #271989 #891943
split-complementary
#7B8919 #194389 #5F1989
monochromatic
#1E2106 #4D5510 #7B8919 #A9BD22 #C9DC40

Accessibility & contrast

On white

3.86
#7B8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7B8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8919
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8919#FFFFFF#000000##000000
##7B89191.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#838175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b8919;
/* rgb */ color: rgb(123, 137, 25);
/* oklch */ color: oklch(59.9% 0.130 117.0);
Tailwind
colors: {
  custom: {
    50: '#a5ab61',
    500: '#7b8919',
    950: '#000000',
  },
}
SCSS
$custom: #7b8919;
$custom-light: #a5ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8919",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 67.5,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.12952,
    "h": 117
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#7B8919
secondary
#5141BC
accent
#3CEC52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B8919

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

Preview Lab → · Contrast checker → · Palette generator →

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