#CFC945#CFC945

#CFC945 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.150 H 106.7°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CFC945
RGBrgb(207, 201, 69)
HSLhsl(57, 59%, 54%)
HSVhsv(57, 67%, 81%)
CMYKcmyk(0%, 2.9%, 66.7%, 18.8%)
CIE-LABlab(79.31, -13.50, 63.81)
CIE-LCHlch(79.31, 65.22, 101.94°)
OKLaboklab(81.7% -0.0431 0.1432)
OKLCHoklch(81.7% 0.15 106.7)
XYZxyz(47.6947, 55.4700, 13.8235)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC945 #454BCF
analogous
#CF8445 #CFC945 #90CF45
triadic
#CFC945 #45CFC9 #C945CF
tetradic
#CFC945 #45CF84 #454BCF #CF4590
square
#CFC945 #45CF84 #454BCF #CF4590
split-complementary
#CFC945 #4590CF #8445CF
monochromatic
#7A7620 #ABA52C #CFC945 #DCD776 #E8E5A6

Accessibility & contrast

On white

1.74
#CFC945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CFC945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC945
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC945#FFFFFF#000000##000000
##CFC9451.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#DEBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc945;
/* rgb */ color: rgb(207, 201, 69);
/* oklch */ color: oklch(81.7% 0.150 106.7);
Tailwind
colors: {
  custom: {
    50: '#e1d980',
    500: '#cfc945',
    950: '#000000',
  },
}
SCSS
$custom: #cfc945;
$custom-light: #e1d980;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc945",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 69
  },
  "hsl": {
    "h": 57.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81701,
    "c": 0.14956,
    "h": 106.7
  },
  "luminance": 0.55468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC945

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

Preview Lab → · Contrast checker → · Palette generator →

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