#7B7B1A#7B7B1A

#7B7B1A 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#7B7B1A
RGBrgb(123, 123, 26)
HSLhsl(60, 65%, 29%)
HSVhsv(60, 79%, 48%)
CMYKcmyk(0%, 0%, 78.9%, 51.8%)
CIE-LABlab(50.04, -11.85, 48.93)
CIE-LCHlch(50.04, 50.35, 103.61°)
OKLaboklab(56.53% -0.038 0.107)
OKLCHoklch(56.53% 0.113 109.5)
XYZxyz(15.4384, 18.4519, 3.7254)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7B1A #1A1A7B
analogous
#7B4B1A #7B7B1A #4B7B1A
triadic
#7B7B1A #1A7B7B #7B1A7B
tetradic
#7B7B1A #1A7B4B #1A1A7B #7B1A4B
square
#7B7B1A #1A7B4B #1A1A7B #7B1A4B
split-complementary
#7B7B1A #1A4B7B #4B1A7B
monochromatic
#191905 #48480F #7B7B1A #AEAE25 #D5D53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7B1A#FFFFFF#000000##000000
##7B7B1A1.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)
#867502
Deuteranopia (green-blind)
#877822
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7b1a;
/* rgb */ color: rgb(123, 123, 26);
/* oklch */ color: oklch(56.5% 0.113 109.5);
Tailwind
colors: {
  custom: {
    50: '#a4a060',
    500: '#7b7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7b7b1a;
$custom-light: #a4a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7b1a",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.11349,
    "h": 109.5
  },
  "luminance": 0.18451
}

Semantic roles & 50–950 ramp

primary
#7B7B1A
secondary
#4242AF
accent
#40E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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