#7B7214#7B7214

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

Color values

HEX#7B7214
RGBrgb(123, 114, 20)
HSLhsl(55, 72%, 28%)
HSVhsv(55, 84%, 48%)
CMYKcmyk(0%, 7.3%, 83.7%, 51.8%)
CIE-LABlab(47.36, -7.10, 48.48)
CIE-LCHlch(47.36, 49.00, 98.33°)
OKLaboklab(54.38% -0.0252 0.1048)
OKLCHoklch(54.38% 0.108 103.5)
XYZxyz(14.3126, 16.2967, 3.0534)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7214 #141D7B
analogous
#7B3E14 #7B7214 #507B14
triadic
#7B7214 #147B72 #72147B
tetradic
#7B7214 #147B3E #141D7B #7B1450
square
#7B7214 #147B3E #141D7B #7B1450
split-complementary
#7B7214 #14507B #3E147B
monochromatic
#1A1804 #46410B #7B7214 #B0A31D #DDCD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7214#FFFFFF#000000##FFFFFF
##7B72141.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)
#80721C
Tritanopia (blue-blind)
#856961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7214;
/* rgb */ color: rgb(123, 114, 20);
/* oklch */ color: oklch(54.4% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#a59a5c',
    500: '#7b7214',
    950: '#000000',
  },
}
SCSS
$custom: #7b7214;
$custom-light: #a59a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7214",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 54.757,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.10776,
    "h": 103.5
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

primary
#7B7214
secondary
#3A45B1
accent
#49EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7214

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

Preview Lab → · Contrast checker → · Palette generator →

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