#CFCD47#CFCD47

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

Color values

HEX#CFCD47
RGBrgb(207, 205, 71)
HSLhsl(59, 59%, 55%)
HSVhsv(59, 66%, 81%)
CMYKcmyk(0%, 1%, 65.7%, 18.8%)
CIE-LABlab(80.40, -15.39, 64.13)
CIE-LCHlch(80.40, 65.96, 103.50°)
OKLaboklab(82.57% -0.0482 0.1442)
OKLCHoklch(82.57% 0.152 108.5)
XYZxyz(48.7024, 57.3844, 14.4708)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD47 #4749CF
analogous
#CF8947 #CFCD47 #8DCF47
triadic
#CFCD47 #47CFCD #CD47CF
tetradic
#CFCD47 #47CF89 #4749CF #CF478D
square
#CFCD47 #47CF89 #4749CF #CF478D
split-complementary
#CFCD47 #478DCF #8947CF
monochromatic
#7B7A20 #ACAA2D #CFCD47 #DCDA78 #E8E7A8

Accessibility & contrast

On white

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

On black

12.48
#CFCD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD47
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD47#FFFFFF#000000##000000
##CFCD471.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd47;
/* rgb */ color: rgb(207, 205, 71);
/* oklch */ color: oklch(82.6% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#e1dc81',
    500: '#cfcd47',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd47;
$custom-light: #e1dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd47",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 59.118,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8257,
    "c": 0.15206,
    "h": 108.5
  },
  "luminance": 0.57383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCD47

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

Preview Lab → · Contrast checker → · Palette generator →

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