#7B8719#7B8719

#7B8719 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.127 H 116.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7B8719
RGBrgb(123, 135, 25)
HSLhsl(67, 69%, 31%)
HSVhsv(67, 81%, 53%)
CMYKcmyk(8.9%, 0%, 81.5%, 47.1%)
CIE-LABlab(53.61, -18.28, 52.47)
CIE-LCHlch(53.61, 55.56, 109.21°)
OKLaboklab(59.38% -0.0559 0.1143)
OKLCHoklch(59.38% 0.127 116.1)
XYZxyz(17.0083, 21.6093, 4.1946)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8719 #251987
analogous
#875C19 #7B8719 #448719
triadic
#7B8719 #197B87 #87197B
tetradic
#7B8719 #19875C #251987 #871944
square
#7B8719 #19875C #251987 #871944
split-complementary
#7B8719 #194487 #5C1987
monochromatic
#1D2006 #4C530F #7B8719 #AABB23 #CADB3F

Accessibility & contrast

On white

3.95
#7B8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7B8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8719
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8719#FFFFFF#000000##000000
##7B87191.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#837F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b8719;
/* rgb */ color: rgb(123, 135, 25);
/* oklch */ color: oklch(59.4% 0.127 116.1);
Tailwind
colors: {
  custom: {
    50: '#a5a961',
    500: '#7b8719',
    950: '#000000',
  },
}
SCSS
$custom: #7b8719;
$custom-light: #a5a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8719",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 66.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.12723,
    "h": 116.1
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#7B8719
secondary
#4F41BA
accent
#3CEC4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B8719

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

Preview Lab → · Contrast checker → · Palette generator →

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