#7B7317#7B7317

#7B7317 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.107 H 104.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7B7317
RGBrgb(123, 115, 23)
HSLhsl(55, 68%, 29%)
HSVhsv(55, 81%, 48%)
CMYKcmyk(0%, 6.5%, 81.3%, 51.8%)
CIE-LABlab(47.67, -7.55, 47.79)
CIE-LCHlch(47.67, 48.39, 98.98°)
OKLaboklab(54.63% -0.0262 0.1039)
OKLCHoklch(54.63% 0.107 104.2)
XYZxyz(14.4544, 16.5349, 3.2406)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7317 #171F7B
analogous
#7B4117 #7B7317 #517B17
triadic
#7B7317 #177B73 #73177B
tetradic
#7B7317 #177B41 #171F7B #7B1751
square
#7B7317 #177B41 #171F7B #7B1751
split-complementary
#7B7317 #17517B #41177B
monochromatic
#1A1805 #47430D #7B7317 #AFA321 #D9CC33

Accessibility & contrast

On white

4.88
#7B7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7B7317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7317
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7317#FFFFFF#000000##FFFFFF
##7B73171.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#856A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7317;
/* rgb */ color: rgb(123, 115, 23);
/* oklch */ color: oklch(54.6% 0.107 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59b5d',
    500: '#7b7317',
    950: '#000000',
  },
}
SCSS
$custom: #7b7317;
$custom-light: #a59b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7317",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 55.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.10716,
    "h": 104.2
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#7B7317
secondary
#3E47B0
accent
#4AEB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7317

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

Preview Lab → · Contrast checker → · Palette generator →

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