#7B8819#7B8819

#7B8819 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.6% C 0.128 H 116.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7B8819
RGBrgb(123, 136, 25)
HSLhsl(67, 69%, 32%)
HSVhsv(67, 82%, 53%)
CMYKcmyk(9.6%, 0%, 81.6%, 46.7%)
CIE-LABlab(53.91, -18.80, 52.74)
CIE-LCHlch(53.91, 55.99, 109.62°)
OKLaboklab(59.62% -0.0573 0.1149)
OKLCHoklch(59.62% 0.128 116.5)
XYZxyz(17.1485, 21.8897, 4.2413)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8819 #261988
analogous
#885E19 #7B8819 #448819
triadic
#7B8819 #197B88 #88197B
tetradic
#7B8819 #19885E #261988 #881944
square
#7B8819 #19885E #261988 #881944
split-complementary
#7B8819 #194488 #5E1988
monochromatic
#1D2106 #4C540F #7B8819 #AABC23 #CADC40

Accessibility & contrast

On white

3.90
#7B8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7B8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8819
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8819#FFFFFF#000000##000000
##7B88191.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#838074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b8819;
/* rgb */ color: rgb(123, 136, 25);
/* oklch */ color: oklch(59.6% 0.128 116.5);
Tailwind
colors: {
  custom: {
    50: '#a5aa61',
    500: '#7b8819',
    950: '#000000',
  },
}
SCSS
$custom: #7b8819;
$custom-light: #a5aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8819",
  "rgb": {
    "r": 123,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 67.027,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.12837,
    "h": 116.5
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#7B8819
secondary
#5041BB
accent
#3CEC51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B8819

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

Preview Lab → · Contrast checker → · Palette generator →

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