#7B7121#7B7121

#7B7121 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.099 H 102.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7B7121
RGBrgb(123, 113, 33)
HSLhsl(53, 58%, 31%)
HSVhsv(53, 73%, 48%)
CMYKcmyk(0%, 8.1%, 73.2%, 51.8%)
CIE-LABlab(47.15, -5.95, 43.53)
CIE-LCHlch(47.15, 43.94, 97.78°)
OKLaboklab(54.23% -0.0207 0.0969)
OKLCHoklch(54.23% 0.099 102.1)
XYZxyz(14.3486, 16.1316, 3.7965)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7121 #212B7B
analogous
#7B4421 #7B7121 #587B21
triadic
#7B7121 #217B71 #71217B
tetradic
#7B7121 #217B44 #212B7B #7B2158
square
#7B7121 #217B44 #212B7B #7B2158
split-complementary
#7B7121 #21587B #44217B
monochromatic
#1A1807 #4B4514 #7B7121 #AB9D2E #CEBF48

Accessibility & contrast

On white

4.97
#7B7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7B7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7121
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7121#FFFFFF#000000##FFFFFF
##7B71211.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7121;
/* rgb */ color: rgb(123, 113, 33);
/* oklch */ color: oklch(54.2% 0.099 102.1);
Tailwind
colors: {
  custom: {
    50: '#a49962',
    500: '#7b7121',
    950: '#000000',
  },
}
SCSS
$custom: #7b7121;
$custom-light: #a49962;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7121",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 53.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.09907,
    "h": 102.1
  },
  "luminance": 0.16131
}

Semantic roles & 50–950 ramp

primary
#7B7121
secondary
#4A55AE
accent
#58E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7B7121

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

Preview Lab → · Contrast checker → · Palette generator →

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