#CFAE3C#CFAE3C

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

Color values

HEX#CFAE3C
RGBrgb(207, 174, 60)
HSLhsl(47, 60%, 52%)
HSVhsv(47, 71%, 81%)
CMYKcmyk(0%, 15.9%, 71%, 18.8%)
CIE-LABlab(72.14, -0.02, 60.12)
CIE-LCHlch(72.14, 60.12, 90.02°)
OKLaboklab(75.99% -0.0057 0.1339)
OKLCHoklch(75.99% 0.134 92.5)
XYZxyz(41.6860, 43.8662, 10.5454)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE3C #3C5DCF
analogous
#CF653C #CFAE3C #A6CF3C
triadic
#CFAE3C #3CCFAE #AE3CCF
tetradic
#CFAE3C #3CCF65 #3C5DCF #CF3CA6
square
#CFAE3C #3CCF65 #3C5DCF #CF3CA6
split-complementary
#CFAE3C #3CA6CF #653CCF
monochromatic
#74601D #A58929 #CFAE3C #DBC26D #E7D79E

Accessibility & contrast

On white

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

On black

9.77
#CFAE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE3C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE3C#FFFFFF#000000##000000
##CFAE3C1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfae3c;
/* rgb */ color: rgb(207, 174, 60);
/* oklch */ color: oklch(76.0% 0.134 92.5);
Tailwind
colors: {
  custom: {
    50: '#e2c578',
    500: '#cfae3c',
    950: '#000000',
  },
}
SCSS
$custom: #cfae3c;
$custom-light: #e2c578;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae3c",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 46.531,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7599,
    "c": 0.13399,
    "h": 92.5
  },
  "luminance": 0.43864
}

Semantic roles & 50–950 ramp

primary
#CFAE3C
secondary
#93A2D3
accent
#68E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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