#7B7B1D#7B7B1D

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

Color values

HEX#7B7B1D
RGBrgb(123, 123, 29)
HSLhsl(60, 62%, 30%)
HSVhsv(60, 76%, 48%)
CMYKcmyk(0%, 0%, 76.4%, 51.8%)
CIE-LABlab(50.06, -11.71, 47.90)
CIE-LCHlch(50.06, 49.31, 103.74°)
OKLaboklab(56.54% -0.0373 0.1053)
OKLCHoklch(56.54% 0.112 109.5)
XYZxyz(15.4737, 18.4660, 3.9114)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7B1D #1D1D7B
analogous
#7B4C1D #7B7B1D #4C7B1D
triadic
#7B7B1D #1D7B7B #7B1D7B
tetradic
#7B7B1D #1D7B4C #1D1D7B #7B1D4C
square
#7B7B1D #1D7B4C #1D1D7B #7B1D4C
split-complementary
#7B7B1D #1D4C7B #4C1D7B
monochromatic
#191906 #494911 #7B7B1D #ADAD29 #D2D240

Accessibility & contrast

On white

4.47
#7B7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7B1D#FFFFFF#000000##000000
##7B7B1D1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857609
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7b1d;
/* rgb */ color: rgb(123, 123, 29);
/* oklch */ color: oklch(56.5% 0.112 109.5);
Tailwind
colors: {
  custom: {
    50: '#a4a061',
    500: '#7b7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b7b1d;
$custom-light: #a4a061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7b1d",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.11175,
    "h": 109.5
  },
  "luminance": 0.18466
}

Semantic roles & 50–950 ramp

primary
#7B7B1D
secondary
#4545AF
accent
#43E543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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