#CFCA47#CFCA47

#CFCA47 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.149 H 107.1°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CFCA47
RGBrgb(207, 202, 71)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 66%, 81%)
CMYKcmyk(0%, 2.4%, 65.7%, 18.8%)
CIE-LABlab(79.59, -13.89, 63.31)
CIE-LCHlch(79.59, 64.82, 102.37°)
OKLaboklab(81.93% -0.044 0.1425)
OKLCHoklch(81.93% 0.149 107.1)
XYZxyz(47.9917, 55.9630, 14.2339)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA47 #474CCF
analogous
#CF8647 #CFCA47 #90CF47
triadic
#CFCA47 #47CFCA #CA47CF
tetradic
#CFCA47 #47CF86 #474CCF #CF4790
square
#CFCA47 #47CF86 #474CCF #CF4790
split-complementary
#CFCA47 #4790CF #8647CF
monochromatic
#7B7820 #ACA72D #CFCA47 #DCD878 #E8E6A8

Accessibility & contrast

On white

1.72
#CFCA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#CFCA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA47
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA47#FFFFFF#000000##000000
##CFCA471.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC235
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#DEBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca47;
/* rgb */ color: rgb(207, 202, 71);
/* oklch */ color: oklch(81.9% 0.149 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1d981',
    500: '#cfca47',
    950: '#000000',
  },
}
SCSS
$custom: #cfca47;
$custom-light: #e1d981;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca47",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 57.794,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8193,
    "c": 0.14911,
    "h": 107.1
  },
  "luminance": 0.55961
}

Semantic roles & 50–950 ramp

primary
#CFCA47
secondary
#373A83
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA47

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

Preview Lab → · Contrast checker → · Palette generator →

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