#7C7117#7C7117

#7C7117 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#7C7117
RGBrgb(124, 113, 23)
HSLhsl(53, 69%, 29%)
HSVhsv(53, 81%, 49%)
CMYKcmyk(0%, 8.9%, 81.5%, 51.4%)
CIE-LABlab(47.18, -5.95, 47.39)
CIE-LCHlch(47.18, 47.76, 97.16°)
OKLaboklab(54.26% -0.0218 0.103)
OKLCHoklch(54.26% 0.105 101.9)
XYZxyz(14.3727, 16.1579, 3.1722)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7117 #17227C
analogous
#7C3F17 #7C7117 #557C17
triadic
#7C7117 #177C71 #71177C
tetradic
#7C7117 #177C3F #17227C #7C1755
square
#7C7117 #177C3F #17227C #7C1755
split-complementary
#7C7117 #17557C #3F177C
monochromatic
#1A1805 #48420D #7C7117 #B0A021 #D9C734

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7117#FFFFFF#000000##FFFFFF
##7C71171.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)
#7C6D01
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#866860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c7117;
/* rgb */ color: rgb(124, 113, 23);
/* oklch */ color: oklch(54.3% 0.105 101.9);
Tailwind
colors: {
  custom: {
    50: '#a5995d',
    500: '#7c7117',
    950: '#000000',
  },
}
SCSS
$custom: #7c7117;
$custom-light: #a5995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7117",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 53.465,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54264,
    "c": 0.10528,
    "h": 101.9
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#7C7117
secondary
#3E4AB1
accent
#4FEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C7117

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

Preview Lab → · Contrast checker → · Palette generator →

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