#7B7B1B#7B7B1B

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

Color values

HEX#7B7B1B
RGBrgb(123, 123, 27)
HSLhsl(60, 64%, 29%)
HSVhsv(60, 78%, 48%)
CMYKcmyk(0%, 0%, 78%, 51.8%)
CIE-LABlab(50.05, -11.80, 48.60)
CIE-LCHlch(50.05, 50.01, 103.65°)
OKLaboklab(56.53% -0.0377 0.1064)
OKLCHoklch(56.53% 0.113 109.5)
XYZxyz(15.4497, 18.4565, 3.7853)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7B1B #1B1B7B
analogous
#7B4B1B #7B7B1B #4B7B1B
triadic
#7B7B1B #1B7B7B #7B1B7B
tetradic
#7B7B1B #1B7B4B #1B1B7B #7B1B4B
square
#7B7B1B #1B7B4B #1B1B7B #7B1B4B
split-complementary
#7B7B1B #1B4B7B #4B1B7B
monochromatic
#191906 #494910 #7B7B1B #ADAD26 #D4D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7B1B#FFFFFF#000000##000000
##7B7B1B1.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)
#857504
Deuteranopia (green-blind)
#877823
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7b1b;
/* rgb */ color: rgb(123, 123, 27);
/* oklch */ color: oklch(56.5% 0.113 109.5);
Tailwind
colors: {
  custom: {
    50: '#a4a060',
    500: '#7b7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #7b7b1b;
$custom-light: #a4a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7b1b",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.11292,
    "h": 109.5
  },
  "luminance": 0.18456
}

Semantic roles & 50–950 ramp

primary
#7B7B1B
secondary
#4343AF
accent
#41E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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