#7B7014#7B7014

#7B7014 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.106 H 102.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7B7014
RGBrgb(123, 112, 20)
HSLhsl(54, 72%, 28%)
HSVhsv(54, 84%, 48%)
CMYKcmyk(0%, 8.9%, 83.7%, 51.8%)
CIE-LABlab(46.78, -5.97, 47.97)
CIE-LCHlch(46.78, 48.34, 97.10°)
OKLaboklab(53.92% -0.0221 0.1037)
OKLCHoklch(53.92% 0.106 102)
XYZxyz(14.0895, 15.8505, 2.9790)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7014 #141F7B
analogous
#7B3C14 #7B7014 #527B14
triadic
#7B7014 #147B70 #70147B
tetradic
#7B7014 #147B3C #141F7B #7B1452
square
#7B7014 #147B3C #141F7B #7B1452
split-complementary
#7B7014 #14527B #3C147B
monochromatic
#1A1804 #46400B #7B7014 #B0A01D #DDCA2D

Accessibility & contrast

On white

5.04
#7B7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7B7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7014
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7014#FFFFFF#000000##FFFFFF
##7B70141.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#85675F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b7014;
/* rgb */ color: rgb(123, 112, 20);
/* oklch */ color: oklch(53.9% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#a5985b',
    500: '#7b7014',
    950: '#000000',
  },
}
SCSS
$custom: #7b7014;
$custom-light: #a5985b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7014",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 53.592,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.10598,
    "h": 102
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#7B7014
secondary
#3A47B1
accent
#4CEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B7014

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

Preview Lab → · Contrast checker → · Palette generator →

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