#7C6214#7C6214

#7C6214 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.8% C 0.096 H 88.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7C6214
RGBrgb(124, 98, 20)
HSLhsl(45, 72%, 28%)
HSVhsv(45, 84%, 49%)
CMYKcmyk(0%, 21%, 83.9%, 51.4%)
CIE-LABlab(42.87, 2.58, 44.58)
CIE-LCHlch(42.87, 44.65, 86.69°)
OKLaboklab(50.85% 0.0021 0.0963)
OKLCHoklch(50.85% 0.096 88.8)
XYZxyz(12.8069, 13.0718, 2.5103)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6214 #142E7C
analogous
#7C2E14 #7C6214 #627C14
triadic
#7C6214 #147C62 #62147C
tetradic
#7C6214 #147C2E #142E7C #7C1462
square
#7C6214 #147C2E #142E7C #7C1462
split-complementary
#7C6214 #14627C #2E147C
monochromatic
#1A1504 #47380B #7C6214 #B18C1D #DDB12D

Accessibility & contrast

On white

5.81
#7C6214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7C6214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6214
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6214#FFFFFF#000000##FFFFFF
##7C62141.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6102
Deuteranopia (green-blind)
#756819
Tritanopia (blue-blind)
#875953
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c6214;
/* rgb */ color: rgb(124, 98, 20);
/* oklch */ color: oklch(50.8% 0.096 88.8);
Tailwind
colors: {
  custom: {
    50: '#a68e59',
    500: '#7c6214',
    950: '#000000',
  },
}
SCSS
$custom: #7c6214;
$custom-light: #a68e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6214",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 45,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.09629,
    "h": 88.8
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#7C6214
secondary
#3A58B2
accent
#66EF39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6214

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

Preview Lab → · Contrast checker → · Palette generator →

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