#7B7314#7B7314

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

Color values

HEX#7B7314
RGBrgb(123, 115, 20)
HSLhsl(55, 72%, 28%)
HSVhsv(55, 84%, 48%)
CMYKcmyk(0%, 6.5%, 83.7%, 51.8%)
CIE-LABlab(47.65, -7.66, 48.74)
CIE-LCHlch(47.65, 49.33, 98.93°)
OKLaboklab(54.61% -0.0268 0.1053)
OKLCHoklch(54.61% 0.109 104.3)
XYZxyz(14.4260, 16.5235, 3.0912)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7314 #141C7B
analogous
#7B3F14 #7B7314 #4F7B14
triadic
#7B7314 #147B73 #73147B
tetradic
#7B7314 #147B3F #141C7B #7B144F
square
#7B7314 #147B3F #141C7B #7B144F
split-complementary
#7B7314 #144F7B #3F147B
monochromatic
#1A1904 #46420B #7B7314 #B0A41D #DDCF2D

Accessibility & contrast

On white

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

On black

4.30
#7B7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B7314#FFFFFF#000000##FFFFFF
##7B73141.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#81731C
Tritanopia (blue-blind)
#856A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7314;
/* rgb */ color: rgb(123, 115, 20);
/* oklch */ color: oklch(54.6% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a59b5c',
    500: '#7b7314',
    950: '#000000',
  },
}
SCSS
$custom: #7b7314;
$custom-light: #a59b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7314",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 55.34,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.10867,
    "h": 104.3
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#7B7314
secondary
#3A43B1
accent
#47EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7314

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

Preview Lab → · Contrast checker → · Palette generator →

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