#7B7919#7B7919

#7B7919 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.112 H 108.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7B7919
RGBrgb(123, 121, 25)
HSLhsl(59, 66%, 29%)
HSVhsv(59, 80%, 48%)
CMYKcmyk(0%, 1.6%, 79.7%, 51.8%)
CIE-LABlab(49.44, -10.79, 48.73)
CIE-LCHlch(49.44, 49.91, 102.49°)
OKLaboklab(56.05% -0.0351 0.1063)
OKLCHoklch(56.05% 0.112 108.3)
XYZxyz(15.1818, 17.9564, 3.5857)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7919 #191B7B
analogous
#7B4819 #7B7919 #4C7B19
triadic
#7B7919 #197B79 #79197B
tetradic
#7B7919 #197B48 #191B7B #7B194C
square
#7B7919 #197B48 #191B7B #7B194C
split-complementary
#7B7919 #194C7B #48197B
monochromatic
#191905 #48470F #7B7919 #AEAB23 #D7D338

Accessibility & contrast

On white

4.57
#7B7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7B7919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7919
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7919#FFFFFF#000000##000000
##7B79191.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#847167
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7919;
/* rgb */ color: rgb(123, 121, 25);
/* oklch */ color: oklch(56.0% 0.112 108.3);
Tailwind
colors: {
  custom: {
    50: '#a49f5f',
    500: '#7b7919',
    950: '#000000',
  },
}
SCSS
$custom: #7b7919;
$custom-light: #a49f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7919",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 58.776,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.11196,
    "h": 108.3
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#7B7919
secondary
#4043AF
accent
#42E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7919

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

Preview Lab → · Contrast checker → · Palette generator →

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