#7B7B1E#7B7B1E

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

Color values

HEX#7B7B1E
RGBrgb(123, 123, 30)
HSLhsl(60, 61%, 30%)
HSVhsv(60, 76%, 48%)
CMYKcmyk(0%, 0%, 75.6%, 51.8%)
CIE-LABlab(50.06, -11.66, 47.54)
CIE-LCHlch(50.06, 48.95, 103.78°)
OKLaboklab(56.55% -0.0371 0.1048)
OKLCHoklch(56.55% 0.111 109.5)
XYZxyz(15.4862, 18.4711, 3.9776)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7B1E #1E1E7B
analogous
#7B4D1E #7B7B1E #4D7B1E
triadic
#7B7B1E #1E7B7B #7B1E7B
tetradic
#7B7B1E #1E7B4D #1E1E7B #7B1E4D
square
#7B7B1E #1E7B4D #1E1E7B #7B1E4D
split-complementary
#7B7B1E #1E4C7B #4C1E7B
monochromatic
#191906 #4A4A12 #7B7B1E #ACAC2A #D1D142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7B1E#FFFFFF#000000##000000
##7B7B1E1.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)
#85760B
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7b1e;
/* rgb */ color: rgb(123, 123, 30);
/* oklch */ color: oklch(56.5% 0.111 109.5);
Tailwind
colors: {
  custom: {
    50: '#a4a061',
    500: '#7b7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b7b1e;
$custom-light: #a4a061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7b1e",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.11113,
    "h": 109.5
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#7B7B1E
secondary
#4646AE
accent
#44E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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