#CFCA49#CFCA49

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

Color values

HEX#CFCA49
RGBrgb(207, 202, 73)
HSLhsl(58, 58%, 55%)
HSVhsv(58, 65%, 81%)
CMYKcmyk(0%, 2.4%, 64.7%, 18.8%)
CIE-LABlab(79.61, -13.77, 62.53)
CIE-LCHlch(79.61, 64.02, 102.42°)
OKLaboklab(81.95% -0.0434 0.1411)
OKLCHoklch(81.95% 0.148 107.1)
XYZxyz(48.0569, 55.9891, 14.5776)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA49 #494ECF
analogous
#CF8749 #CFCA49 #91CF49
triadic
#CFCA49 #49CFCA #CA49CF
tetradic
#CFCA49 #49CF87 #494ECF #CF4991
square
#CFCA49 #49CF87 #494ECF #CF4991
split-complementary
#CFCA49 #4991CF #8749CF
monochromatic
#7D7921 #ADA82E #CFCA49 #DCD879 #E9E6AA

Accessibility & contrast

On white

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

On black

12.20
#CFCA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA49
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA49#FFFFFF#000000##000000
##CFCA491.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#DDBDB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca49;
/* rgb */ color: rgb(207, 202, 73);
/* oklch */ color: oklch(81.9% 0.148 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1d982',
    500: '#cfca49',
    950: '#000000',
  },
}
SCSS
$custom: #cfca49;
$custom-light: #e1d982;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca49",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 73
  },
  "hsl": {
    "h": 57.761,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81946,
    "c": 0.14767,
    "h": 107.1
  },
  "luminance": 0.55987
}

Semantic roles & 50–950 ramp

primary
#CFCA49
secondary
#383B84
accent
#4CE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA49

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

Preview Lab → · Contrast checker → · Palette generator →

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