#7B7019#7B7019

#7B7019 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.103 H 101.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B7019
RGBrgb(123, 112, 25)
HSLhsl(53, 66%, 29%)
HSVhsv(53, 80%, 48%)
CMYKcmyk(0%, 8.9%, 79.7%, 51.8%)
CIE-LABlab(46.80, -5.78, 46.32)
CIE-LCHlch(46.80, 46.68, 97.11°)
OKLaboklab(53.95% -0.0211 0.1012)
OKLCHoklch(53.95% 0.103 101.8)
XYZxyz(14.1387, 15.8701, 3.2380)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7019 #19247B
analogous
#7B3F19 #7B7019 #557B19
triadic
#7B7019 #197B70 #70197B
tetradic
#7B7019 #197B3F #19247B #7B1955
square
#7B7019 #197B3F #19247B #7B1955
split-complementary
#7B7019 #19557B #3F197B
monochromatic
#191705 #48420F #7B7019 #AE9E23 #D7C538

Accessibility & contrast

On white

5.03
#7B7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7B7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7019
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7019#FFFFFF#000000##FFFFFF
##7B70191.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C05
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#856760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b7019;
/* rgb */ color: rgb(123, 112, 25);
/* oklch */ color: oklch(53.9% 0.103 101.8);
Tailwind
colors: {
  custom: {
    50: '#a5985e',
    500: '#7b7019',
    950: '#000000',
  },
}
SCSS
$custom: #7b7019;
$custom-light: #a5985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7019",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 53.265,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.10334,
    "h": 101.8
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#7B7019
secondary
#404DAF
accent
#52E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B7019

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

Preview Lab → · Contrast checker → · Palette generator →

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