#7C6A18#7C6A18

#7C6A18 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.7% C 0.099 H 96.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7C6A18
RGBrgb(124, 106, 24)
HSLhsl(49, 68%, 29%)
HSVhsv(49, 81%, 49%)
CMYKcmyk(0%, 14.5%, 80.6%, 51.4%)
CIE-LABlab(45.16, -1.92, 45.21)
CIE-LCHlch(45.16, 45.26, 92.43°)
OKLaboklab(52.67% -0.0103 0.0985)
OKLCHoklch(52.67% 0.099 96)
XYZxyz(13.6318, 14.6599, 2.9756)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6A18 #182A7C
analogous
#7C3818 #7C6A18 #5C7C18
triadic
#7C6A18 #187C6A #6A187C
tetradic
#7C6A18 #187C38 #182A7C #7C185C
square
#7C6A18 #187C38 #182A7C #7C185C
split-complementary
#7C6A18 #185C7C #38187C
monochromatic
#1A1605 #493E0E #7C6A18 #AF9622 #D8BB36

Accessibility & contrast

On white

5.34
#7C6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7C6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6A18
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6A18#FFFFFF#000000##FFFFFF
##7C6A181.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#87615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c6a18;
/* rgb */ color: rgb(124, 106, 24);
/* oklch */ color: oklch(52.7% 0.099 96.0);
Tailwind
colors: {
  custom: {
    50: '#a5945c',
    500: '#7c6a18',
    950: '#000000',
  },
}
SCSS
$custom: #7c6a18;
$custom-light: #a5945c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6a18",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 49.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.09908,
    "h": 96
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#7C6A18
secondary
#3F54B1
accent
#5DEA3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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