#CFAD42#CFAD42

#CFAD42 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.8% C 0.129 H 91.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CFAD42
RGBrgb(207, 173, 66)
HSLhsl(46, 59%, 54%)
HSVhsv(46, 68%, 81%)
CMYKcmyk(0%, 16.4%, 68.1%, 18.8%)
CIE-LABlab(71.93, 0.82, 57.43)
CIE-LCHlch(71.93, 57.44, 89.18°)
OKLaboklab(75.84% -0.0026 0.1292)
OKLCHoklch(75.84% 0.129 91.2)
XYZxyz(41.6612, 43.5483, 11.3645)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAD42 #4264CF
analogous
#CF6642 #CFAD42 #AACF42
triadic
#CFAD42 #42CFAD #AD42CF
tetradic
#CFAD42 #42CF66 #4264CF #CF42AA
square
#CFAD42 #42CF66 #4264CF #CF42AA
split-complementary
#CFAD42 #42AACF #6642CF
monochromatic
#78621F #A98B2B #CFAD42 #DBC273 #E8D7A4

Accessibility & contrast

On white

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

On black

9.71
#CFAD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAD42
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAD42#FFFFFF#000000##000000
##CFAD421.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfad42;
/* rgb */ color: rgb(207, 173, 66);
/* oklch */ color: oklch(75.8% 0.129 91.2);
Tailwind
colors: {
  custom: {
    50: '#e1c57c',
    500: '#cfad42',
    950: '#000000',
  },
}
SCSS
$custom: #cfad42;
$custom-light: #e1c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfad42",
  "rgb": {
    "r": 207,
    "g": 173,
    "b": 66
  },
  "hsl": {
    "h": 45.532,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75836,
    "c": 0.12927,
    "h": 91.2
  },
  "luminance": 0.43546
}

Semantic roles & 50–950 ramp

primary
#CFAD42
secondary
#98A7D5
accent
#6BE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAD42

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

Preview Lab → · Contrast checker → · Palette generator →

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