#7C7418#7C7418

#7C7418 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.107 H 104.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7418
RGBrgb(124, 116, 24)
HSLhsl(55, 68%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 6.5%, 80.6%, 51.4%)
CIE-LABlab(48.06, -7.60, 47.85)
CIE-LCHlch(48.06, 48.45, 99.02°)
OKLaboklab(54.97% -0.0263 0.1042)
OKLCHoklch(54.97% 0.107 104.2)
XYZxyz(14.7231, 16.8424, 3.3394)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7418 #18207C
analogous
#7C4218 #7C7418 #527C18
triadic
#7C7418 #187C74 #74187C
tetradic
#7C7418 #187C42 #18207C #7C1852
square
#7C7418 #187C42 #18207C #7C1852
split-complementary
#7C7418 #18527C #42187C
monochromatic
#1A1805 #49440E #7C7418 #AFA422 #D8CB36

Accessibility & contrast

On white

4.81
#7C7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7C7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7418
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7418#FFFFFF#000000##FFFFFF
##7C74181.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7418;
/* rgb */ color: rgb(124, 116, 24);
/* oklch */ color: oklch(55.0% 0.107 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59b5e',
    500: '#7c7418',
    950: '#000000',
  },
}
SCSS
$custom: #7c7418;
$custom-light: #a59b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7418",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 55.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.10745,
    "h": 104.2
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#7C7418
secondary
#3F48B1
accent
#4BEA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7418

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

Preview Lab → · Contrast checker → · Palette generator →

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