#7C7618#7C7618

#7C7618 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.109 H 105.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7C7618
RGBrgb(124, 118, 24)
HSLhsl(56, 68%, 29%)
HSVhsv(56, 81%, 49%)
CMYKcmyk(0%, 4.8%, 80.6%, 51.4%)
CIE-LABlab(48.65, -8.71, 48.37)
CIE-LCHlch(48.65, 49.15, 100.21°)
OKLaboklab(55.43% -0.0294 0.1053)
OKLCHoklch(55.43% 0.109 105.6)
XYZxyz(14.9561, 17.3085, 3.4170)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7618 #181E7C
analogous
#7C4418 #7C7618 #507C18
triadic
#7C7618 #187C76 #76187C
tetradic
#7C7618 #187C44 #181E7C #7C1850
square
#7C7618 #187C44 #181E7C #7C1850
split-complementary
#7C7618 #18507C #44187C
monochromatic
#1A1805 #49450E #7C7618 #AFA722 #D8CE36

Accessibility & contrast

On white

4.71
#7C7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7C7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7618
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7618#FFFFFF#000000##FFFFFF
##7C76181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#866D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c7618;
/* rgb */ color: rgb(124, 118, 24);
/* oklch */ color: oklch(55.4% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7c7618',
    950: '#000000',
  },
}
SCSS
$custom: #7c7618;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7618",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 56.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.10935,
    "h": 105.6
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#7C7618
secondary
#3F46B1
accent
#48EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7618

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

Preview Lab → · Contrast checker → · Palette generator →

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