#7C6F18#7C6F18

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

Color values

HEX#7C6F18
RGBrgb(124, 111, 24)
HSLhsl(52, 68%, 29%)
HSVhsv(52, 81%, 49%)
CMYKcmyk(0%, 10.5%, 80.6%, 51.4%)
CIE-LABlab(46.61, -4.78, 46.53)
CIE-LCHlch(46.61, 46.77, 95.86°)
OKLaboklab(53.81% -0.0184 0.1014)
OKLCHoklch(53.81% 0.103 100.3)
XYZxyz(14.1622, 15.7206, 3.1524)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F18 #18257C
analogous
#7C3D18 #7C6F18 #577C18
triadic
#7C6F18 #187C6F #6F187C
tetradic
#7C6F18 #187C3D #18257C #7C1857
square
#7C6F18 #187C3D #18257C #7C1857
split-complementary
#7C6F18 #18577C #3D187C
monochromatic
#1A1705 #49410E #7C6F18 #AF9D22 #D8C336

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6F18#FFFFFF#000000##FFFFFF
##7C6F181.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)
#7A6C04
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#86665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6f18;
/* rgb */ color: rgb(124, 111, 24);
/* oklch */ color: oklch(53.8% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#a5985d',
    500: '#7c6f18',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f18;
$custom-light: #a5985d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f18",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 52.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.10301,
    "h": 100.3
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#7C6F18
secondary
#3F4EB1
accent
#54EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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