#CFAD3F#CFAD3F

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

Color values

HEX#CFAD3F
RGBrgb(207, 173, 63)
HSLhsl(46, 60%, 53%)
HSVhsv(46, 70%, 81%)
CMYKcmyk(0%, 16.4%, 69.6%, 18.8%)
CIE-LABlab(71.90, 0.66, 58.66)
CIE-LCHlch(71.90, 58.66, 89.36°)
OKLaboklab(75.81% -0.0034 0.1313)
OKLCHoklch(75.81% 0.131 91.5)
XYZxyz(41.5751, 43.5138, 10.9108)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAD3F #3F61CF
analogous
#CF653F #CFAD3F #A9CF3F
triadic
#CFAD3F #3FCFAD #AD3FCF
tetradic
#CFAD3F #3FCF65 #3F61CF #CF3FA9
square
#CFAD3F #3FCF65 #3F61CF #CF3FA9
split-complementary
#CFAD3F #3FA9CF #653FCF
monochromatic
#76611E #A7892A #CFAD3F #DBC270 #E7D7A1

Accessibility & contrast

On white

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

On black

9.70
#CFAD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAD3F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAD3F#FFFFFF#000000##000000
##CFAD3F1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#E09F96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cfad3f;
/* rgb */ color: rgb(207, 173, 63);
/* oklch */ color: oklch(75.8% 0.131 91.5);
Tailwind
colors: {
  custom: {
    50: '#e2c57a',
    500: '#cfad3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfad3f;
$custom-light: #e2c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfad3f",
  "rgb": {
    "r": 207,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 45.833,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7581,
    "c": 0.13136,
    "h": 91.5
  },
  "luminance": 0.43511
}

Semantic roles & 50–950 ramp

primary
#CFAD3F
secondary
#96A4D4
accent
#6AE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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