#7B7315#7B7315

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

Color values

HEX#7B7315
RGBrgb(123, 115, 21)
HSLhsl(55, 71%, 28%)
HSVhsv(55, 83%, 48%)
CMYKcmyk(0%, 6.5%, 82.9%, 51.8%)
CIE-LABlab(47.66, -7.62, 48.43)
CIE-LCHlch(47.66, 49.03, 98.95°)
OKLaboklab(54.62% -0.0266 0.1049)
OKLCHoklch(54.62% 0.108 104.2)
XYZxyz(14.4351, 16.5272, 3.1390)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7315 #151D7B
analogous
#7B4015 #7B7315 #507B15
triadic
#7B7315 #157B73 #73157B
tetradic
#7B7315 #157B40 #151D7B #7B1550
square
#7B7315 #157B40 #151D7B #7B1550
split-complementary
#7B7315 #15507B #40157B
monochromatic
#1A1804 #47420C #7B7315 #AFA41E #DBCE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7315#FFFFFF#000000##FFFFFF
##7B73151.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)
#81731D
Tritanopia (blue-blind)
#856A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7315;
/* rgb */ color: rgb(123, 115, 21);
/* oklch */ color: oklch(54.6% 0.108 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59b5c',
    500: '#7b7315',
    950: '#000000',
  },
}
SCSS
$custom: #7b7315;
$custom-light: #a59b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7315",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 55.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.10818,
    "h": 104.2
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#7B7315
secondary
#3B45B0
accent
#48EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7315

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

Preview Lab → · Contrast checker → · Palette generator →

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