#CFAE37#CFAE37

#CFAE37 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 76.0% C 0.137 H 92.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CFAE37
RGBrgb(207, 174, 55)
HSLhsl(47, 61%, 51%)
HSVhsv(47, 73%, 81%)
CMYKcmyk(0%, 15.9%, 73.4%, 18.8%)
CIE-LABlab(72.11, -0.26, 62.03)
CIE-LCHlch(72.11, 62.03, 90.24°)
OKLaboklab(75.95% -0.007 0.137)
OKLCHoklch(75.95% 0.137 92.9)
XYZxyz(41.5600, 43.8158, 9.8819)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE37 #3758CF
analogous
#CF6237 #CFAE37 #A4CF37
triadic
#CFAE37 #37CFAE #AE37CF
tetradic
#CFAE37 #37CF62 #3758CF #CF37A4
square
#CFAE37 #37CF62 #3758CF #CF37A4
split-complementary
#CFAE37 #37A4CF #6237CF
monochromatic
#715E1B #A28727 #CFAE37 #DBC268 #E7D69A

Accessibility & contrast

On white

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

On black

9.76
#CFAE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE37
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE37#FFFFFF#000000##000000
##CFAE371.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#E0A096
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae37;
/* rgb */ color: rgb(207, 174, 55);
/* oklch */ color: oklch(76.0% 0.137 92.9);
Tailwind
colors: {
  custom: {
    50: '#e2c576',
    500: '#cfae37',
    950: '#000000',
  },
}
SCSS
$custom: #cfae37;
$custom-light: #e2c576;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae37",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 46.974,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75953,
    "c": 0.13716,
    "h": 92.9
  },
  "luminance": 0.43813
}

Semantic roles & 50–950 ramp

primary
#CFAE37
secondary
#8F9ED2
accent
#66E443
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAE37

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

Preview Lab → · Contrast checker → · Palette generator →

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