#7B8619#7B8619

#7B8619 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.126 H 115.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7B8619
RGBrgb(123, 134, 25)
HSLhsl(66, 69%, 31%)
HSVhsv(66, 81%, 53%)
CMYKcmyk(8.2%, 0%, 81.3%, 47.5%)
CIE-LABlab(53.31, -17.76, 52.20)
CIE-LCHlch(53.31, 55.14, 108.79°)
OKLaboklab(59.14% -0.0544 0.1137)
OKLCHoklch(59.14% 0.126 115.6)
XYZxyz(16.8694, 21.3316, 4.1483)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8619 #241986
analogous
#865A19 #7B8619 #448619
triadic
#7B8619 #197B86 #86197B
tetradic
#7B8619 #19865A #241986 #861944
square
#7B8619 #19865A #241986 #861944
split-complementary
#7B8619 #194486 #5A1986
monochromatic
#1C1F06 #4C520F #7B8619 #AABA23 #CBDB3E

Accessibility & contrast

On white

3.99
#7B8619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7B8619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8619
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8619#FFFFFF#000000##000000
##7B86191.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#837E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b8619;
/* rgb */ color: rgb(123, 134, 25);
/* oklch */ color: oklch(59.1% 0.126 115.6);
Tailwind
colors: {
  custom: {
    50: '#a5a961',
    500: '#7b8619',
    950: '#000000',
  },
}
SCSS
$custom: #7b8619;
$custom-light: #a5a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8619",
  "rgb": {
    "r": 123,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 66.055,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.12609,
    "h": 115.6
  },
  "luminance": 0.21331
}

Semantic roles & 50–950 ramp

primary
#7B8619
secondary
#4D41BA
accent
#3CEB4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B8619

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

Preview Lab → · Contrast checker → · Palette generator →

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