#7B7A14#7B7A14

#7B7A14 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.115 H 109.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B7A14
RGBrgb(123, 122, 20)
HSLhsl(59, 72%, 28%)
HSVhsv(59, 84%, 48%)
CMYKcmyk(0%, 0.8%, 83.7%, 51.8%)
CIE-LABlab(49.71, -11.53, 50.52)
CIE-LCHlch(49.71, 51.82, 102.86°)
OKLaboklab(56.26% -0.0376 0.1092)
OKLCHoklch(56.26% 0.115 109)
XYZxyz(15.2548, 18.1810, 3.3674)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7A14 #14157B
analogous
#7B4614 #7B7A14 #497B14
triadic
#7B7A14 #147B7A #7A147B
tetradic
#7B7A14 #147B46 #14157B #7B1449
square
#7B7A14 #147B46 #14157B #7B1449
split-complementary
#7B7A14 #14497B #46147B
monochromatic
#1A1A04 #46460B #7B7A14 #B0AE1D #DDDB2D

Accessibility & contrast

On white

4.53
#7B7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B7A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7A14
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7A14#FFFFFF#000000##000000
##7B7A141.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7a14;
/* rgb */ color: rgb(123, 122, 20);
/* oklch */ color: oklch(56.3% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#a5a05d',
    500: '#7b7a14',
    950: '#000000',
  },
}
SCSS
$custom: #7b7a14;
$custom-light: #a5a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7a14",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 59.417,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.11547,
    "h": 109
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#7B7A14
secondary
#3A3BB1
accent
#3BEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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