#CFAD46#CFAD46

#CFAD46 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.9% C 0.126 H 90.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CFAD46
RGBrgb(207, 173, 70)
HSLhsl(45, 59%, 54%)
HSVhsv(45, 66%, 81%)
CMYKcmyk(0%, 16.4%, 66.2%, 18.8%)
CIE-LABlab(71.96, 1.05, 55.74)
CIE-LCHlch(71.96, 55.75, 88.92°)
OKLaboklab(75.87% -0.0015 0.1263)
OKLCHoklch(75.87% 0.126 90.7)
XYZxyz(41.7833, 43.5971, 12.0075)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAD46 #4668CF
analogous
#CF6846 #CFAD46 #ADCF46
triadic
#CFAD46 #46CFAD #AD46CF
tetradic
#CFAD46 #46CF68 #4668CF #CF46AD
square
#CFAD46 #46CF68 #4668CF #CF46AD
split-complementary
#CFAD46 #46ADCF #6846CF
monochromatic
#7B6420 #AB8C2C #CFAD46 #DCC377 #E8D8A7

Accessibility & contrast

On white

2.16
#CFAD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CFAD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAD46
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAD46#FFFFFF#000000##000000
##CFAD461.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3A
Deuteranopia (green-blind)
#C8B44B
Tritanopia (blue-blind)
#DF9F97
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cfad46;
/* rgb */ color: rgb(207, 173, 70);
/* oklch */ color: oklch(75.9% 0.126 90.7);
Tailwind
colors: {
  custom: {
    50: '#e1c57e',
    500: '#cfad46',
    950: '#000000',
  },
}
SCSS
$custom: #cfad46;
$custom-light: #e1c57e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfad46",
  "rgb": {
    "r": 207,
    "g": 173,
    "b": 70
  },
  "hsl": {
    "h": 45.109,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75873,
    "c": 0.12633,
    "h": 90.7
  },
  "luminance": 0.43595
}

Semantic roles & 50–950 ramp

primary
#CFAD46
secondary
#9BAAD5
accent
#6DE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAD46

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

Preview Lab → · Contrast checker → · Palette generator →

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