#C4A63F#C4A63F

#C4A63F is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.3% C 0.125 H 92.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C4A63F
RGBrgb(196, 166, 63)
HSLhsl(46, 53%, 51%)
HSVhsv(46, 68%, 77%)
CMYKcmyk(0%, 15.3%, 67.9%, 23.1%)
CIE-LABlab(69.02, -0.39, 55.35)
CIE-LCHlch(69.02, 55.35, 90.40°)
OKLaboklab(73.29% -0.0058 0.1247)
OKLCHoklch(73.29% 0.125 92.6)
XYZxyz(37.3003, 39.3692, 10.3360)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A63F #3F5DC4
analogous
#C4633F #C4A63F #9FC43F
triadic
#C4A63F #3FC4A6 #A63FC4
tetradic
#C4A63F #3FC463 #3F5DC4 #C43F9F
square
#C4A63F #3FC463 #3F5DC4 #C43F9F
split-complementary
#C4A63F #3F9FC4 #633FC4
monochromatic
#685820 #97802E #C4A63F #D2BC6E #E1D19D

Accessibility & contrast

On white

2.37
#C4A63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#C4A63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A63F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A63F#FFFFFF#000000##000000
##C4A63F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A332
Deuteranopia (green-blind)
#BFAC44
Tritanopia (blue-blind)
#D49991
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c4a63f;
/* rgb */ color: rgb(196, 166, 63);
/* oklch */ color: oklch(73.3% 0.125 92.6);
Tailwind
colors: {
  custom: {
    50: '#d9c079',
    500: '#c4a63f',
    950: '#000000',
  },
}
SCSS
$custom: #c4a63f;
$custom-light: #d9c079;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a63f",
  "rgb": {
    "r": 196,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 46.466,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73286,
    "c": 0.12482,
    "h": 92.6
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#C4A63F
secondary
#929FCD
accent
#6CDC4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A63F

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

Preview Lab → · Contrast checker → · Palette generator →

#C4A63F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva