#CFCA45#CFCA45

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

Color values

HEX#CFCA45
RGBrgb(207, 202, 69)
HSLhsl(58, 59%, 54%)
HSVhsv(58, 67%, 81%)
CMYKcmyk(0%, 2.4%, 66.7%, 18.8%)
CIE-LABlab(79.58, -14.00, 64.08)
CIE-LCHlch(79.58, 65.59, 102.32°)
OKLaboklab(81.91% -0.0445 0.1438)
OKLCHoklch(81.91% 0.151 107.2)
XYZxyz(47.9286, 55.9377, 13.9014)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA45 #454ACF
analogous
#CF8545 #CFCA45 #8FCF45
triadic
#CFCA45 #45CFCA #CA45CF
tetradic
#CFCA45 #45CF85 #454ACF #CF458F
square
#CFCA45 #45CF85 #454ACF #CF458F
split-complementary
#CFCA45 #458FCF #8545CF
monochromatic
#7A7720 #ABA62C #CFCA45 #DCD876 #E8E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA45#FFFFFF#000000##000000
##CFCA451.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)
#DAC232
Deuteranopia (green-blind)
#DDC84E
Tritanopia (blue-blind)
#DEBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca45;
/* rgb */ color: rgb(207, 202, 69);
/* oklch */ color: oklch(81.9% 0.151 107.2);
Tailwind
colors: {
  custom: {
    50: '#e1d980',
    500: '#cfca45',
    950: '#000000',
  },
}
SCSS
$custom: #cfca45;
$custom-light: #e1d980;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca45",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 57.826,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81913,
    "c": 0.15052,
    "h": 107.2
  },
  "luminance": 0.55936
}

Semantic roles & 50–950 ramp

primary
#CFCA45
secondary
#363982
accent
#4BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA45

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

Preview Lab → · Contrast checker → · Palette generator →

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