#7B7219#7B7219

#7B7219 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.105 H 103.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7B7219
RGBrgb(123, 114, 25)
HSLhsl(54, 66%, 29%)
HSVhsv(54, 80%, 48%)
CMYKcmyk(0%, 7.3%, 79.7%, 51.8%)
CIE-LABlab(47.39, -6.91, 46.85)
CIE-LCHlch(47.39, 47.36, 98.38°)
OKLaboklab(54.41% -0.0242 0.1023)
OKLCHoklch(54.41% 0.105 103.3)
XYZxyz(14.3618, 16.3164, 3.3124)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7219 #19227B
analogous
#7B4119 #7B7219 #537B19
triadic
#7B7219 #197B72 #72197B
tetradic
#7B7219 #197B41 #19227B #7B1953
square
#7B7219 #197B41 #19227B #7B1953
split-complementary
#7B7219 #19537B #41197B
monochromatic
#191805 #48430F #7B7219 #AEA123 #D7C838

Accessibility & contrast

On white

4.93
#7B7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7B7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7219
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7219#FFFFFF#000000##FFFFFF
##7B72191.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E04
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#856961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7219;
/* rgb */ color: rgb(123, 114, 25);
/* oklch */ color: oklch(54.4% 0.105 103.3);
Tailwind
colors: {
  custom: {
    50: '#a59a5e',
    500: '#7b7219',
    950: '#000000',
  },
}
SCSS
$custom: #7b7219;
$custom-light: #a59a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7219",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 54.49,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.10514,
    "h": 103.3
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#7B7219
secondary
#404BAF
accent
#4EE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7219

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

Preview Lab → · Contrast checker → · Palette generator →

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