#CFCF47#CFCF47

#CFCF47 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.154 H 109.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CFCF47
RGBrgb(207, 207, 71)
HSLhsl(60, 59%, 55%)
HSVhsv(60, 66%, 81%)
CMYKcmyk(0%, 0%, 65.7%, 18.8%)
CIE-LABlab(80.93, -16.39, 64.68)
CIE-LCHlch(80.93, 66.73, 104.22°)
OKLaboklab(83% -0.051 0.1454)
OKLCHoklch(83% 0.154 109.3)
XYZxyz(49.1839, 58.3474, 14.6313)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF47 #4747CF
analogous
#CF8B47 #CFCF47 #8BCF47
triadic
#CFCF47 #47CFCF #CF47CF
tetradic
#CFCF47 #47CF8B #4747CF #CF478B
square
#CFCF47 #47CF8B #4747CF #CF478B
split-complementary
#CFCF47 #478BCF #8B47CF
monochromatic
#7B7B20 #ACAC2D #CFCF47 #DCDC78 #E8E8A8

Accessibility & contrast

On white

1.66
#CFCF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CFCF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF47
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF47#FFFFFF#000000##000000
##CFCF471.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC734
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#DDC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf47;
/* rgb */ color: rgb(207, 207, 71);
/* oklch */ color: oklch(83.0% 0.154 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd81',
    500: '#cfcf47',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf47;
$custom-light: #e1dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf47",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.15407,
    "h": 109.3
  },
  "luminance": 0.58346
}

Semantic roles & 50–950 ramp

primary
#CFCF47
secondary
#373783
accent
#46E246
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCF47

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

Preview Lab → · Contrast checker → · Palette generator →

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