#CFAE3F#CFAE3F

#CFAE3F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.132 H 92.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CFAE3F
RGBrgb(207, 174, 63)
HSLhsl(46, 60%, 53%)
HSVhsv(46, 70%, 81%)
CMYKcmyk(0%, 15.9%, 69.6%, 18.8%)
CIE-LABlab(72.16, 0.13, 58.92)
CIE-LCHlch(72.16, 58.92, 89.87°)
OKLaboklab(76.01% -0.005 0.1319)
OKLCHoklch(76.01% 0.132 92.1)
XYZxyz(41.7676, 43.8988, 10.9750)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE3F #3F60CF
analogous
#CF663F #CFAE3F #A8CF3F
triadic
#CFAE3F #3FCFAE #AE3FCF
tetradic
#CFAE3F #3FCF66 #3F60CF #CF3FA8
square
#CFAE3F #3FCF66 #3F60CF #CF3FA8
split-complementary
#CFAE3F #3FA8CF #663FCF
monochromatic
#76621E #A78A2A #CFAE3F #DBC370 #E7D7A1

Accessibility & contrast

On white

2.15
#CFAE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CFAE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE3F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE3F#FFFFFF#000000##000000
##CFAE3F1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB30
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae3f;
/* rgb */ color: rgb(207, 174, 63);
/* oklch */ color: oklch(76.0% 0.132 92.1);
Tailwind
colors: {
  custom: {
    50: '#e2c57a',
    500: '#cfae3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfae3f;
$custom-light: #e2c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae3f",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 46.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76014,
    "c": 0.13197,
    "h": 92.1
  },
  "luminance": 0.43896
}

Semantic roles & 50–950 ramp

primary
#CFAE3F
secondary
#96A4D4
accent
#69E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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