#7B7218#7B7218

#7B7218 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.106 H 103.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7B7218
RGBrgb(123, 114, 24)
HSLhsl(55, 67%, 29%)
HSVhsv(55, 80%, 48%)
CMYKcmyk(0%, 7.3%, 80.5%, 51.8%)
CIE-LABlab(47.38, -6.95, 47.20)
CIE-LCHlch(47.38, 47.70, 98.37°)
OKLaboklab(54.4% -0.0244 0.1028)
OKLCHoklch(54.4% 0.106 103.4)
XYZxyz(14.3512, 16.3121, 3.2566)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7218 #18217B
analogous
#7B4118 #7B7218 #537B18
triadic
#7B7218 #187B72 #72187B
tetradic
#7B7218 #187B41 #18217B #7B1853
square
#7B7218 #187B41 #18217B #7B1853
split-complementary
#7B7218 #18537B #41187B
monochromatic
#1A1805 #48430E #7B7218 #AEA122 #D8C936

Accessibility & contrast

On white

4.93
#7B7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7B7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7218
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7218#FFFFFF#000000##FFFFFF
##7B72181.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#856961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7218;
/* rgb */ color: rgb(123, 114, 24);
/* oklch */ color: oklch(54.4% 0.106 103.4);
Tailwind
colors: {
  custom: {
    50: '#a59a5d',
    500: '#7b7218',
    950: '#000000',
  },
}
SCSS
$custom: #7b7218;
$custom-light: #a59a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7218",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 54.545,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.10569,
    "h": 103.4
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#7B7218
secondary
#3F49B0
accent
#4DEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7218

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

Preview Lab → · Contrast checker → · Palette generator →

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