#7C6418#7C6418

#7C6418 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.3% C 0.095 H 90.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7C6418
RGBrgb(124, 100, 24)
HSLhsl(46, 68%, 29%)
HSVhsv(46, 81%, 49%)
CMYKcmyk(0%, 19.4%, 80.6%, 51.4%)
CIE-LABlab(43.46, 1.56, 43.64)
CIE-LCHlch(43.46, 43.67, 87.95°)
OKLaboklab(51.32% -0.0004 0.0952)
OKLCHoklch(51.32% 0.095 90.2)
XYZxyz(13.0350, 13.4662, 2.7767)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6418 #18307C
analogous
#7C3218 #7C6418 #627C18
triadic
#7C6418 #187C64 #64187C
tetradic
#7C6418 #187C32 #18307C #7C1862
square
#7C6418 #187C32 #18307C #7C1862
split-complementary
#7C6418 #18627C #32187C
monochromatic
#1A1505 #493B0E #7C6418 #AF8D22 #D8B136

Accessibility & contrast

On white

5.69
#7C6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7C6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6418
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6418#FFFFFF#000000##FFFFFF
##7C64181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706309
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#875B55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c6418;
/* rgb */ color: rgb(124, 100, 24);
/* oklch */ color: oklch(51.3% 0.095 90.2);
Tailwind
colors: {
  custom: {
    50: '#a68f5c',
    500: '#7c6418',
    950: '#000000',
  },
}
SCSS
$custom: #7c6418;
$custom-light: #a68f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6418",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 45.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.09518,
    "h": 90.2
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#7C6418
secondary
#3F5AB1
accent
#67EA3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6418

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

Preview Lab → · Contrast checker → · Palette generator →

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