#7C7818#7C7818

#7C7818 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.111 H 107.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7C7818
RGBrgb(124, 120, 24)
HSLhsl(58, 68%, 29%)
HSVhsv(58, 81%, 49%)
CMYKcmyk(0%, 3.2%, 80.6%, 51.4%)
CIE-LABlab(49.23, -9.82, 48.90)
CIE-LCHlch(49.23, 49.88, 101.35°)
OKLaboklab(55.9% -0.0325 0.1064)
OKLCHoklch(55.9% 0.111 107)
XYZxyz(15.1942, 17.7845, 3.4964)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7818 #181C7C
analogous
#7C4618 #7C7818 #4E7C18
triadic
#7C7818 #187C78 #78187C
tetradic
#7C7818 #187C46 #181C7C #7C184E
square
#7C7818 #187C46 #181C7C #7C184E
split-complementary
#7C7818 #184E7C #46187C
monochromatic
#1A1905 #49460E #7C7818 #AFAA22 #D8D236

Accessibility & contrast

On white

4.61
#7C7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7C7818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7818
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7818#FFFFFF#000000##FFFFFF
##7C78181.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#866F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c7818;
/* rgb */ color: rgb(124, 120, 24);
/* oklch */ color: oklch(55.9% 0.111 107.0);
Tailwind
colors: {
  custom: {
    50: '#a59e5e',
    500: '#7c7818',
    950: '#000000',
  },
}
SCSS
$custom: #7c7818;
$custom-light: #a59e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7818",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 57.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.559,
    "c": 0.1113,
    "h": 107
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#7C7818
secondary
#3F44B1
accent
#44EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7818

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

Preview Lab → · Contrast checker → · Palette generator →

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