#7B8D19#7B8D19

#7B8D19 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 60.8% C 0.134 H 118.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7B8D19
RGBrgb(123, 141, 25)
HSLhsl(69, 70%, 33%)
HSVhsv(69, 82%, 55%)
CMYKcmyk(12.8%, 0%, 82.3%, 44.7%)
CIE-LABlab(55.41, -21.37, 54.07)
CIE-LCHlch(55.41, 58.14, 111.57°)
OKLaboklab(60.83% -0.0644 0.1177)
OKLCHoklch(60.83% 0.134 118.7)
XYZxyz(17.8691, 23.3310, 4.4815)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8D19 #2B198D
analogous
#8D6519 #7B8D19 #418D19
triadic
#7B8D19 #197B8D #8D197B
tetradic
#7B8D19 #198D65 #2B198D #8D1941
square
#7B8D19 #198D65 #2B198D #8D1941
split-complementary
#7B8D19 #19418D #65198D
monochromatic
#202507 #4E5910 #7B8D19 #A8C122 #C6DE43

Accessibility & contrast

On white

3.71
#7B8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7B8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8D19
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8D19#FFFFFF#000000##000000
##7B8D191.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#838578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b8d19;
/* rgb */ color: rgb(123, 141, 25);
/* oklch */ color: oklch(60.8% 0.134 118.7);
Tailwind
colors: {
  custom: {
    50: '#a5ae62',
    500: '#7b8d19',
    950: '#000000',
  },
}
SCSS
$custom: #7b8d19;
$custom-light: #a5ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8d19",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 69.31,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60833,
    "c": 0.13417,
    "h": 118.7
  },
  "luminance": 0.23331
}

Semantic roles & 50–950 ramp

primary
#7B8D19
secondary
#5643BF
accent
#3BED57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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