#7C7118#7C7118

#7C7118 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.105 H 101.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7C7118
RGBrgb(124, 113, 24)
HSLhsl(53, 68%, 29%)
HSVhsv(53, 81%, 49%)
CMYKcmyk(0%, 8.9%, 80.6%, 51.4%)
CIE-LABlab(47.19, -5.91, 47.06)
CIE-LCHlch(47.19, 47.43, 97.16°)
OKLaboklab(54.27% -0.0216 0.1025)
OKLCHoklch(54.27% 0.105 101.9)
XYZxyz(14.3829, 16.1619, 3.2259)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7118 #18237C
analogous
#7C3F18 #7C7118 #557C18
triadic
#7C7118 #187C71 #71187C
tetradic
#7C7118 #187C3F #18237C #7C1855
square
#7C7118 #187C3F #18237C #7C1855
split-complementary
#7C7118 #18557C #3F187C
monochromatic
#1A1705 #49420E #7C7118 #AFA022 #D8C636

Accessibility & contrast

On white

4.96
#7C7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7C7118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7118
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7118#FFFFFF#000000##FFFFFF
##7C71181.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7118;
/* rgb */ color: rgb(124, 113, 24);
/* oklch */ color: oklch(54.3% 0.105 101.9);
Tailwind
colors: {
  custom: {
    50: '#a5995d',
    500: '#7c7118',
    950: '#000000',
  },
}
SCSS
$custom: #7c7118;
$custom-light: #a5995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7118",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 53.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.10474,
    "h": 101.9
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#7C7118
secondary
#3F4CB1
accent
#50EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C7118

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

Preview Lab → · Contrast checker → · Palette generator →

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