#7B7118#7B7118

#7B7118 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.105 H 102.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7B7118
RGBrgb(123, 113, 24)
HSLhsl(54, 67%, 29%)
HSVhsv(54, 80%, 48%)
CMYKcmyk(0%, 8.1%, 80.5%, 51.8%)
CIE-LABlab(47.09, -6.38, 46.93)
CIE-LCHlch(47.09, 47.36, 97.75°)
OKLaboklab(54.17% -0.0229 0.1023)
OKLCHoklch(54.17% 0.105 102.6)
XYZxyz(14.2390, 16.0878, 3.2192)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7118 #18227B
analogous
#7B4018 #7B7118 #547B18
triadic
#7B7118 #187B71 #71187B
tetradic
#7B7118 #187B40 #18227B #7B1854
square
#7B7118 #187B40 #18227B #7B1854
split-complementary
#7B7118 #18547B #40187B
monochromatic
#1A1805 #48420E #7B7118 #AEA022 #D8C736

Accessibility & contrast

On white

4.98
#7B7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7B7118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7118
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7118#FFFFFF#000000##FFFFFF
##7B71181.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#856860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7118;
/* rgb */ color: rgb(123, 113, 24);
/* oklch */ color: oklch(54.2% 0.105 102.6);
Tailwind
colors: {
  custom: {
    50: '#a5995d',
    500: '#7b7118',
    950: '#000000',
  },
}
SCSS
$custom: #7b7118;
$custom-light: #a5995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7118",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 53.939,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.10479,
    "h": 102.6
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#7B7118
secondary
#3F4AB0
accent
#4FEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B7118

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

Preview Lab → · Contrast checker → · Palette generator →

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