#7B7215#7B7215

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

Color values

HEX#7B7215
RGBrgb(123, 114, 21)
HSLhsl(55, 71%, 28%)
HSVhsv(55, 83%, 48%)
CMYKcmyk(0%, 7.3%, 82.9%, 51.8%)
CIE-LABlab(47.37, -7.06, 48.17)
CIE-LCHlch(47.37, 48.69, 98.34°)
OKLaboklab(54.38% -0.025 0.1043)
OKLCHoklch(54.38% 0.107 103.5)
XYZxyz(14.3217, 16.3003, 3.1012)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7215 #151E7B
analogous
#7B3F15 #7B7215 #517B15
triadic
#7B7215 #157B72 #72157B
tetradic
#7B7215 #157B3F #151E7B #7B1551
square
#7B7215 #157B3F #151E7B #7B1551
split-complementary
#7B7215 #15517B #3F157B
monochromatic
#1A1804 #47420C #7B7215 #AFA21E #DBCC2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7215#FFFFFF#000000##FFFFFF
##7B72151.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)
#7D6E00
Deuteranopia (green-blind)
#80721D
Tritanopia (blue-blind)
#856961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7215;
/* rgb */ color: rgb(123, 114, 21);
/* oklch */ color: oklch(54.4% 0.107 103.5);
Tailwind
colors: {
  custom: {
    50: '#a59a5c',
    500: '#7b7215',
    950: '#000000',
  },
}
SCSS
$custom: #7b7215;
$custom-light: #a59a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7215",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 54.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.10727,
    "h": 103.5
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#7B7215
secondary
#3B46B0
accent
#4AEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7215

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

Preview Lab → · Contrast checker → · Palette generator →

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