#7B7814#7B7814

#7B7814 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.113 H 107.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B7814
RGBrgb(123, 120, 20)
HSLhsl(58, 72%, 28%)
HSVhsv(58, 84%, 48%)
CMYKcmyk(0%, 2.4%, 83.7%, 51.8%)
CIE-LABlab(49.12, -10.44, 50.01)
CIE-LCHlch(49.12, 51.09, 101.79°)
OKLaboklab(55.78% -0.0345 0.1081)
OKLCHoklch(55.78% 0.113 107.7)
XYZxyz(15.0117, 17.6949, 3.2864)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7814 #14177B
analogous
#7B4414 #7B7814 #4B7B14
triadic
#7B7814 #147B78 #78147B
tetradic
#7B7814 #147B44 #14177B #7B144B
square
#7B7814 #147B44 #14177B #7B144B
split-complementary
#7B7814 #144B7B #44147B
monochromatic
#1A1A04 #46450B #7B7814 #B0AB1D #DDD82D

Accessibility & contrast

On white

4.63
#7B7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7B7814 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7814
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7814#FFFFFF#000000##FFFFFF
##7B78141.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85761D
Tritanopia (blue-blind)
#856F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b7814;
/* rgb */ color: rgb(123, 120, 20);
/* oklch */ color: oklch(55.8% 0.113 107.7);
Tailwind
colors: {
  custom: {
    50: '#a59e5d',
    500: '#7b7814',
    950: '#000000',
  },
}
SCSS
$custom: #7b7814;
$custom-light: #a59e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7814",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 58.252,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.11346,
    "h": 107.7
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#7B7814
secondary
#3A3EB1
accent
#3EEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7814

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

Preview Lab → · Contrast checker → · Palette generator →

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