#7B7815#7B7815

#7B7815 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.113 H 107.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B7815
RGBrgb(123, 120, 21)
HSLhsl(58, 71%, 28%)
HSVhsv(58, 83%, 48%)
CMYKcmyk(0%, 2.4%, 82.9%, 51.8%)
CIE-LABlab(49.13, -10.40, 49.72)
CIE-LCHlch(49.13, 50.79, 101.81°)
OKLaboklab(55.79% -0.0344 0.1076)
OKLCHoklch(55.79% 0.113 107.7)
XYZxyz(15.0208, 17.6986, 3.3343)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7815 #15187B
analogous
#7B4515 #7B7815 #4B7B15
triadic
#7B7815 #157B78 #78157B
tetradic
#7B7815 #157B45 #15187B #7B154B
square
#7B7815 #157B45 #15187B #7B154B
split-complementary
#7B7815 #154B7B #45157B
monochromatic
#1A1904 #47450C #7B7815 #AFAB1E #DBD62F

Accessibility & contrast

On white

4.63
#7B7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7B7815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7815
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7815#FFFFFF#000000##FFFFFF
##7B78151.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85761E
Tritanopia (blue-blind)
#856F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b7815;
/* rgb */ color: rgb(123, 120, 21);
/* oklch */ color: oklch(55.8% 0.113 107.7);
Tailwind
colors: {
  custom: {
    50: '#a59e5d',
    500: '#7b7815',
    950: '#000000',
  },
}
SCSS
$custom: #7b7815;
$custom-light: #a59e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7815",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 58.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.11299,
    "h": 107.7
  },
  "luminance": 0.17698
}

Semantic roles & 50–950 ramp

primary
#7B7815
secondary
#3B3FB0
accent
#3FEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7815

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

Preview Lab → · Contrast checker → · Palette generator →

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