#7B8B19#7B8B19

#7B8B19 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.3% C 0.132 H 117.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7B8B19
RGBrgb(123, 139, 25)
HSLhsl(68, 70%, 32%)
HSVhsv(68, 82%, 55%)
CMYKcmyk(11.5%, 0%, 82%, 45.5%)
CIE-LABlab(54.81, -20.35, 53.54)
CIE-LCHlch(54.81, 57.28, 110.81°)
OKLaboklab(60.35% -0.0616 0.1166)
OKLCHoklch(60.35% 0.132 117.8)
XYZxyz(17.5769, 22.7466, 4.3841)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8B19 #29198B
analogous
#8B6219 #7B8B19 #428B19
triadic
#7B8B19 #197B8B #8B197B
tetradic
#7B8B19 #198B62 #29198B #8B1942
square
#7B8B19 #198B62 #29198B #8B1942
split-complementary
#7B8B19 #19428B #62198B
monochromatic
#1F2306 #4D5710 #7B8B19 #A9BF22 #C7DD41

Accessibility & contrast

On white

3.78
#7B8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7B8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8B19
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8B19#FFFFFF#000000##000000
##7B8B191.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#838376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8b19;
/* rgb */ color: rgb(123, 139, 25);
/* oklch */ color: oklch(60.3% 0.132 117.8);
Tailwind
colors: {
  custom: {
    50: '#a5ac61',
    500: '#7b8b19',
    950: '#000000',
  },
}
SCSS
$custom: #7b8b19;
$custom-light: #a5ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8b19",
  "rgb": {
    "r": 123,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 68.421,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.13184,
    "h": 117.8
  },
  "luminance": 0.22746
}

Semantic roles & 50–950 ramp

primary
#7B8B19
secondary
#5342BE
accent
#3BEC54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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