#CFCD45#CFCD45

#CFCD45 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.153 H 108.5°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CFCD45
RGBrgb(207, 205, 69)
HSLhsl(59, 59%, 54%)
HSVhsv(59, 67%, 81%)
CMYKcmyk(0%, 1%, 66.7%, 18.8%)
CIE-LABlab(80.38, -15.50, 64.90)
CIE-LCHlch(80.38, 66.72, 103.44°)
OKLaboklab(82.55% -0.0487 0.1455)
OKLCHoklch(82.55% 0.153 108.5)
XYZxyz(48.6393, 57.3592, 14.1384)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD45 #4547CF
analogous
#CF8845 #CFCD45 #8CCF45
triadic
#CFCD45 #45CFCD #CD45CF
tetradic
#CFCD45 #45CF88 #4547CF #CF458C
square
#CFCD45 #45CF88 #4547CF #CF458C
split-complementary
#CFCD45 #458CCF #8845CF
monochromatic
#7A7920 #ABA92C #CFCD45 #DCDA76 #E8E7A6

Accessibility & contrast

On white

1.68
#CFCD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CFCD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD45
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD45#FFFFFF#000000##000000
##CFCD451.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC531
Deuteranopia (green-blind)
#DFCA4E
Tritanopia (blue-blind)
#DDC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd45;
/* rgb */ color: rgb(207, 205, 69);
/* oklch */ color: oklch(82.6% 0.153 108.5);
Tailwind
colors: {
  custom: {
    50: '#e1dc80',
    500: '#cfcd45',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd45;
$custom-light: #e1dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd45",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 59.13,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82554,
    "c": 0.15345,
    "h": 108.5
  },
  "luminance": 0.57358
}

Semantic roles & 50–950 ramp

primary
#CFCD45
secondary
#363782
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCD45

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

Preview Lab → · Contrast checker → · Palette generator →

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