#7B7614#7B7614

#7B7614 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.112 H 106.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7B7614
RGBrgb(123, 118, 20)
HSLhsl(57, 72%, 28%)
HSVhsv(57, 84%, 48%)
CMYKcmyk(0%, 4.1%, 83.7%, 51.8%)
CIE-LABlab(48.53, -9.33, 49.50)
CIE-LCHlch(48.53, 50.37, 100.68°)
OKLaboklab(55.31% -0.0315 0.107)
OKLCHoklch(55.31% 0.112 106.4)
XYZxyz(14.7737, 17.2189, 3.2071)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7614 #14197B
analogous
#7B4214 #7B7614 #4D7B14
triadic
#7B7614 #147B76 #76147B
tetradic
#7B7614 #147B42 #14197B #7B144D
square
#7B7614 #147B42 #14197B #7B144D
split-complementary
#7B7614 #144D7B #42147B
monochromatic
#1A1904 #46430B #7B7614 #B0A81D #DDD42D

Accessibility & contrast

On white

4.73
#7B7614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7B7614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7614
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7614#FFFFFF#000000##FFFFFF
##7B76141.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#856D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b7614;
/* rgb */ color: rgb(123, 118, 20);
/* oklch */ color: oklch(55.3% 0.112 106.4);
Tailwind
colors: {
  custom: {
    50: '#a59d5c',
    500: '#7b7614',
    950: '#000000',
  },
}
SCSS
$custom: #7b7614;
$custom-light: #a59d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7614",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 20
  },
  "hsl": {
    "h": 57.087,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55314,
    "c": 0.1115,
    "h": 106.4
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#7B7614
secondary
#3A40B1
accent
#42EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7614

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

Preview Lab → · Contrast checker → · Palette generator →

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