#7C6E16#7C6E16

#7C6E16 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.103 H 99.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C6E16
RGBrgb(124, 110, 22)
HSLhsl(52, 70%, 29%)
HSVhsv(52, 82%, 49%)
CMYKcmyk(0%, 11.3%, 82.3%, 51.4%)
CIE-LABlab(46.31, -4.29, 46.95)
CIE-LCHlch(46.31, 47.14, 95.22°)
OKLaboklab(53.57% -0.0172 0.1018)
OKLCHoklch(53.57% 0.103 99.6)
XYZxyz(14.0336, 15.4956, 3.0107)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6E16 #16247C
analogous
#7C3B16 #7C6E16 #577C16
triadic
#7C6E16 #167C6E #6E167C
tetradic
#7C6E16 #167C3B #16247C #7C1657
square
#7C6E16 #167C3B #16247C #7C1657
split-complementary
#7C6E16 #16577C #3B167C
monochromatic
#1A1705 #48400D #7C6E16 #B09C1F #DBC332

Accessibility & contrast

On white

5.12
#7C6E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7C6E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6E16
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6E16#FFFFFF#000000##FFFFFF
##7C6E161.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#7D701D
Tritanopia (blue-blind)
#86655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6e16;
/* rgb */ color: rgb(124, 110, 22);
/* oklch */ color: oklch(53.6% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#a5975c',
    500: '#7c6e16',
    950: '#000000',
  },
}
SCSS
$custom: #7c6e16;
$custom-light: #a5975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6e16",
  "rgb": {
    "r": 124,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 51.765,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53567,
    "c": 0.10326,
    "h": 99.6
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#7C6E16
secondary
#3D4DB1
accent
#54ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6E16

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

Preview Lab → · Contrast checker → · Palette generator →

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