#7B7B18#7B7B18

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

Color values

HEX#7B7B18
RGBrgb(123, 123, 24)
HSLhsl(60, 67%, 29%)
HSVhsv(60, 80%, 48%)
CMYKcmyk(0%, 0%, 80.5%, 51.8%)
CIE-LABlab(50.03, -11.93, 49.58)
CIE-LCHlch(50.03, 51.00, 103.53°)
OKLaboklab(56.51% -0.0384 0.1079)
OKLCHoklch(56.51% 0.115 109.6)
XYZxyz(15.4168, 18.4433, 3.6118)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7B18 #18187B
analogous
#7B4A18 #7B7B18 #4A7B18
triadic
#7B7B18 #187B7B #7B187B
tetradic
#7B7B18 #187B4A #18187B #7B184A
square
#7B7B18 #187B4A #18187B #7B184A
split-complementary
#7B7B18 #184A7B #4A187B
monochromatic
#1A1A05 #48480E #7B7B18 #AEAE22 #D8D836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7B18#FFFFFF#000000##000000
##7B7B181.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)
#877821
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7b18;
/* rgb */ color: rgb(123, 123, 24);
/* oklch */ color: oklch(56.5% 0.115 109.6);
Tailwind
colors: {
  custom: {
    50: '#a4a05f',
    500: '#7b7b18',
    950: '#000000',
  },
}
SCSS
$custom: #7b7b18;
$custom-light: #a4a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7b18",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.11455,
    "h": 109.6
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#7B7B18
secondary
#3F3FB0
accent
#3EEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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