#7B7B14#7B7B14

#7B7B14 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.116 H 109.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7B7B14
RGBrgb(123, 123, 20)
HSLhsl(60, 72%, 28%)
HSVhsv(60, 84%, 48%)
CMYKcmyk(0%, 0%, 83.7%, 51.8%)
CIE-LABlab(50.01, -12.08, 50.78)
CIE-LCHlch(50.01, 52.20, 103.38°)
OKLaboklab(56.49% -0.0391 0.1097)
OKLCHoklch(56.49% 0.116 109.6)
XYZxyz(15.3782, 18.4279, 3.4085)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7B14 #14147B
analogous
#7B4714 #7B7B14 #477B14
triadic
#7B7B14 #147B7B #7B147B
tetradic
#7B7B14 #147B47 #14147B #7B1447
square
#7B7B14 #147B47 #14147B #7B1447
split-complementary
#7B7B14 #14477B #47147B
monochromatic
#1A1A04 #46460B #7B7B14 #B0B01D #DDDD2D

Accessibility & contrast

On white

4.48
#7B7B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B7B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7B14
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7B14#FFFFFF#000000##000000
##7B7B141.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7b14;
/* rgb */ color: rgb(123, 123, 20);
/* oklch */ color: oklch(56.5% 0.116 109.6);
Tailwind
colors: {
  custom: {
    50: '#a5a05d',
    500: '#7b7b14',
    950: '#000000',
  },
}
SCSS
$custom: #7b7b14;
$custom-light: #a5a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7b14",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.11649,
    "h": 109.6
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#7B7B14
secondary
#3A3AB1
accent
#39EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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