#7B7D19#7B7D19

#7B7D19 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.116 H 110.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B7D19
RGBrgb(123, 125, 25)
HSLhsl(61, 67%, 29%)
HSVhsv(61, 80%, 49%)
CMYKcmyk(1.6%, 0%, 80%, 51%)
CIE-LABlab(50.63, -12.97, 49.80)
CIE-LCHlch(50.63, 51.46, 104.60°)
OKLaboklab(56.99% -0.0412 0.1086)
OKLCHoklch(56.99% 0.116 110.8)
XYZxyz(15.6780, 18.9488, 3.7511)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D19 #1B197D
analogous
#7D4D19 #7B7D19 #497D19
triadic
#7B7D19 #197B7D #7D197B
tetradic
#7B7D19 #197D4D #1B197D #7D1949
square
#7B7D19 #197D4D #1B197D #7D1949
split-complementary
#7B7D19 #19497D #4D197D
monochromatic
#191A05 #494A0F #7B7D19 #ADB023 #D4D739

Accessibility & contrast

On white

4.38
#7B7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7B7D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D19
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D19#FFFFFF#000000##000000
##7B7D191.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7d19;
/* rgb */ color: rgb(123, 125, 25);
/* oklch */ color: oklch(57.0% 0.116 110.8);
Tailwind
colors: {
  custom: {
    50: '#a4a25f',
    500: '#7b7d19',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d19;
$custom-light: #a4a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d19",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 61.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.11614,
    "h": 110.8
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#7B7D19
secondary
#4340B1
accent
#3EEA42
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7B7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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