#CFAD3A#CFAD3A

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

Color values

HEX#CFAD3A
RGBrgb(207, 173, 58)
HSLhsl(46, 61%, 52%)
HSVhsv(46, 72%, 81%)
CMYKcmyk(0%, 16.4%, 72%, 18.8%)
CIE-LABlab(71.87, 0.41, 60.64)
CIE-LCHlch(71.87, 60.64, 89.61°)
OKLaboklab(75.77% -0.0047 0.1346)
OKLCHoklch(75.77% 0.135 92)
XYZxyz(41.4417, 43.4605, 10.2081)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAD3A #3A5CCF
analogous
#CF633A #CFAD3A #A6CF3A
triadic
#CFAD3A #3ACFAD #AD3ACF
tetradic
#CFAD3A #3ACF63 #3A5CCF #CF3AA6
square
#CFAD3A #3ACF63 #3A5CCF #CF3AA6
split-complementary
#CFAD3A #3AA6CF #633ACF
monochromatic
#735F1C #A48828 #CFAD3A #DBC16B #E7D69C

Accessibility & contrast

On white

2.17
#CFAD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CFAD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAD3A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAD3A#FFFFFF#000000##000000
##CFAD3A1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfad3a;
/* rgb */ color: rgb(207, 173, 58);
/* oklch */ color: oklch(75.8% 0.135 92.0);
Tailwind
colors: {
  custom: {
    50: '#e2c577',
    500: '#cfad3a',
    950: '#000000',
  },
}
SCSS
$custom: #cfad3a;
$custom-light: #e2c577;
$custom-dark: #000000;
JSON
{
  "hex": "#cfad3a",
  "rgb": {
    "r": 207,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 46.309,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75771,
    "c": 0.13468,
    "h": 92
  },
  "luminance": 0.43458
}

Semantic roles & 50–950 ramp

primary
#CFAD3A
secondary
#92A1D3
accent
#68E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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