#7B7318#7B7318

#7B7318 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.107 H 104.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7B7318
RGBrgb(123, 115, 24)
HSLhsl(55, 67%, 29%)
HSVhsv(55, 80%, 48%)
CMYKcmyk(0%, 6.5%, 80.5%, 51.8%)
CIE-LABlab(47.67, -7.51, 47.46)
CIE-LCHlch(47.67, 48.05, 98.99°)
OKLaboklab(54.64% -0.026 0.1034)
OKLCHoklch(54.64% 0.107 104.1)
XYZxyz(14.4646, 16.5390, 3.2944)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7318 #18207B
analogous
#7B4218 #7B7318 #527B18
triadic
#7B7318 #187B73 #73187B
tetradic
#7B7318 #187B42 #18207B #7B1852
square
#7B7318 #187B42 #18207B #7B1852
split-complementary
#7B7318 #18527B #42187B
monochromatic
#1A1805 #48430E #7B7318 #AEA322 #D8CB36

Accessibility & contrast

On white

4.88
#7B7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7B7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7318
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7318#FFFFFF#000000##FFFFFF
##7B73181.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#856A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7318;
/* rgb */ color: rgb(123, 115, 24);
/* oklch */ color: oklch(54.6% 0.107 104.1);
Tailwind
colors: {
  custom: {
    50: '#a59b5e',
    500: '#7b7318',
    950: '#000000',
  },
}
SCSS
$custom: #7b7318;
$custom-light: #a59b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7318",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 55.152,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.10662,
    "h": 104.1
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#7B7318
secondary
#3F48B0
accent
#4CEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7318

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

Preview Lab → · Contrast checker → · Palette generator →

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