#7B7418#7B7418

#7B7418 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.108 H 104.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B7418
RGBrgb(123, 116, 24)
HSLhsl(56, 67%, 29%)
HSVhsv(56, 80%, 48%)
CMYKcmyk(0%, 5.7%, 80.5%, 51.8%)
CIE-LABlab(47.97, -8.07, 47.73)
CIE-LCHlch(47.97, 48.40, 99.59°)
OKLaboklab(54.87% -0.0276 0.104)
OKLCHoklch(54.87% 0.108 104.9)
XYZxyz(14.5793, 16.7683, 3.3326)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7418 #181F7B
analogous
#7B4318 #7B7418 #517B18
triadic
#7B7418 #187B74 #74187B
tetradic
#7B7418 #187B43 #181F7B #7B1851
square
#7B7418 #187B43 #181F7B #7B1851
split-complementary
#7B7418 #18517B #43187B
monochromatic
#1A1805 #48440E #7B7418 #AEA422 #D8CC36

Accessibility & contrast

On white

4.82
#7B7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7B7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7418
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7418#FFFFFF#000000##FFFFFF
##7B74181.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#856B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7418;
/* rgb */ color: rgb(123, 116, 24);
/* oklch */ color: oklch(54.9% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#a59b5e',
    500: '#7b7418',
    950: '#000000',
  },
}
SCSS
$custom: #7b7418;
$custom-light: #a59b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7418",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 55.758,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.10757,
    "h": 104.9
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#7B7418
secondary
#3F47B0
accent
#4AEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7418

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

Preview Lab → · Contrast checker → · Palette generator →

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