#7C7318#7C7318

#7C7318 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.107 H 103.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7C7318
RGBrgb(124, 115, 24)
HSLhsl(55, 68%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 7.3%, 80.6%, 51.4%)
CIE-LABlab(47.77, -7.04, 47.58)
CIE-LCHlch(47.77, 48.10, 98.41°)
OKLaboklab(54.73% -0.0247 0.1036)
OKLCHoklch(54.73% 0.107 103.4)
XYZxyz(14.6085, 16.6131, 3.3011)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7318 #18217C
analogous
#7C4118 #7C7318 #537C18
triadic
#7C7318 #187C73 #73187C
tetradic
#7C7318 #187C41 #18217C #7C1853
square
#7C7318 #187C41 #18217C #7C1853
split-complementary
#7C7318 #18537C #41187C
monochromatic
#1A1805 #49430E #7C7318 #AFA322 #D8CA36

Accessibility & contrast

On white

4.86
#7C7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7C7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7318
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7318#FFFFFF#000000##FFFFFF
##7C73181.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7318;
/* rgb */ color: rgb(124, 115, 24);
/* oklch */ color: oklch(54.7% 0.107 103.4);
Tailwind
colors: {
  custom: {
    50: '#a59b5e',
    500: '#7c7318',
    950: '#000000',
  },
}
SCSS
$custom: #7c7318;
$custom-light: #a59b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7318",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 54.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.10653,
    "h": 103.4
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#7C7318
secondary
#3F49B1
accent
#4DEA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7318

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

Preview Lab → · Contrast checker → · Palette generator →

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