#7C7518#7C7518

#7C7518 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.108 H 104.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C7518
RGBrgb(124, 117, 24)
HSLhsl(56, 68%, 29%)
HSVhsv(56, 81%, 49%)
CMYKcmyk(0%, 5.6%, 80.6%, 51.4%)
CIE-LABlab(48.35, -8.15, 48.11)
CIE-LCHlch(48.35, 48.80, 99.62°)
OKLaboklab(55.2% -0.0279 0.1047)
OKLCHoklch(55.2% 0.108 104.9)
XYZxyz(14.8390, 17.0742, 3.3780)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7518 #181F7C
analogous
#7C4318 #7C7518 #517C18
triadic
#7C7518 #187C75 #75187C
tetradic
#7C7518 #187C43 #181F7C #7C1851
square
#7C7518 #187C43 #181F7C #7C1851
split-complementary
#7C7518 #18517C #43187C
monochromatic
#1A1805 #49450E #7C7518 #AFA522 #D8CD36

Accessibility & contrast

On white

4.76
#7C7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7C7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7518
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7518#FFFFFF#000000##FFFFFF
##7C75181.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#866C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7518;
/* rgb */ color: rgb(124, 117, 24);
/* oklch */ color: oklch(55.2% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#a59c5e',
    500: '#7c7518',
    950: '#000000',
  },
}
SCSS
$custom: #7c7518;
$custom-light: #a59c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7518",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 55.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.10839,
    "h": 104.9
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#7C7518
secondary
#3F47B1
accent
#49EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7518

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

Preview Lab → · Contrast checker → · Palette generator →

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