#7C6F19#7C6F19

#7C6F19 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.102 H 100.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7C6F19
RGBrgb(124, 111, 25)
HSLhsl(52, 66%, 29%)
HSVhsv(52, 80%, 49%)
CMYKcmyk(0%, 10.5%, 79.8%, 51.4%)
CIE-LABlab(46.61, -4.74, 46.18)
CIE-LCHlch(46.61, 46.42, 95.86°)
OKLaboklab(53.82% -0.0182 0.1008)
OKLCHoklch(53.82% 0.102 100.2)
XYZxyz(14.1728, 15.7248, 3.2082)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F19 #19267C
analogous
#7C3E19 #7C6F19 #587C19
triadic
#7C6F19 #197C6F #6F197C
tetradic
#7C6F19 #197C3E #19267C #7C1958
square
#7C6F19 #197C3E #19267C #7C1958
split-complementary
#7C6F19 #19587C #3E197C
monochromatic
#191705 #49410F #7C6F19 #AF9D23 #D7C238

Accessibility & contrast

On white

5.07
#7C6F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7C6F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6F19
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6F19#FFFFFF#000000##FFFFFF
##7C6F191.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C06
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#86665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6f19;
/* rgb */ color: rgb(124, 111, 25);
/* oklch */ color: oklch(53.8% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#a5985e',
    500: '#7c6f19',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f19;
$custom-light: #a5985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f19",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 52.121,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.10245,
    "h": 100.2
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#7C6F19
secondary
#404FB0
accent
#55E93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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