#7B8519#7B8519

#7B8519 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.125 H 115.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7B8519
RGBrgb(123, 133, 25)
HSLhsl(66, 68%, 31%)
HSVhsv(66, 81%, 52%)
CMYKcmyk(7.5%, 0%, 81.2%, 47.8%)
CIE-LABlab(53.01, -17.24, 51.94)
CIE-LCHlch(53.01, 54.72, 108.36°)
OKLaboklab(58.9% -0.053 0.1132)
OKLCHoklch(58.9% 0.125 115.1)
XYZxyz(16.7319, 21.0565, 4.1024)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8519 #231985
analogous
#855919 #7B8519 #458519
triadic
#7B8519 #197B85 #85197B
tetradic
#7B8519 #198559 #231985 #851945
square
#7B8519 #198559 #231985 #851945
split-complementary
#7B8519 #194585 #591985
monochromatic
#1C1E06 #4B510F #7B8519 #ABB923 #CCDB3E

Accessibility & contrast

On white

4.03
#7B8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7B8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8519
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8519#FFFFFF#000000##000000
##7B85191.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#847D71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b8519;
/* rgb */ color: rgb(123, 133, 25);
/* oklch */ color: oklch(58.9% 0.125 115.1);
Tailwind
colors: {
  custom: {
    50: '#a5a861',
    500: '#7b8519',
    950: '#000000',
  },
}
SCSS
$custom: #7b8519;
$custom-light: #a5a861;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8519",
  "rgb": {
    "r": 123,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 65.556,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.12495,
    "h": 115.1
  },
  "luminance": 0.21056
}

Semantic roles & 50–950 ramp

primary
#7B8519
secondary
#4C41B9
accent
#3DEB4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B8519

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

Preview Lab → · Contrast checker → · Palette generator →

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