#7B7914#7B7914

#7B7914 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.114 H 108.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7B7914
RGBrgb(123, 121, 20)
HSLhsl(59, 72%, 28%)
HSVhsv(59, 84%, 48%)
CMYKcmyk(0%, 1.6%, 83.7%, 51.8%)
CIE-LABlab(49.42, -10.98, 50.27)
CIE-LCHlch(49.42, 51.45, 102.33°)
OKLaboklab(56.02% -0.0361 0.1086)
OKLCHoklch(56.02% 0.114 108.4)
XYZxyz(15.1326, 17.9367, 3.3267)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7914 #14167B
analogous
#7B4514 #7B7914 #497B14
triadic
#7B7914 #147B79 #79147B
tetradic
#7B7914 #147B45 #14167B #7B1449
square
#7B7914 #147B45 #14167B #7B1449
split-complementary
#7B7914 #14497B #45147B
monochromatic
#1A1A04 #46450B #7B7914 #B0AD1D #DDD92D

Accessibility & contrast

On white

4.58
#7B7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7B7914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7914
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7914#FFFFFF#000000##000000
##7B79141.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#857067
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b7914;
/* rgb */ color: rgb(123, 121, 20);
/* oklch */ color: oklch(56.0% 0.114 108.4);
Tailwind
colors: {
  custom: {
    50: '#a59f5d',
    500: '#7b7914',
    950: '#000000',
  },
}
SCSS
$custom: #7b7914;
$custom-light: #a59f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7914",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 58.835,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.11445,
    "h": 108.4
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#7B7914
secondary
#3A3DB1
accent
#3DEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7914

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

Preview Lab → · Contrast checker → · Palette generator →

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