#CFC284#CFC284

#CFC284 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.082 H 97.8°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CFC284
RGBrgb(207, 194, 132)
HSLhsl(50, 44%, 66%)
HSVhsv(50, 36%, 81%)
CMYKcmyk(0%, 6.3%, 36.2%, 18.8%)
CIE-LABlab(78.18, -4.51, 32.87)
CIE-LCHlch(78.18, 33.18, 97.81°)
OKLaboklab(81.03% -0.0111 0.0813)
OKLCHoklch(81.03% 0.082 97.8)
XYZxyz(49.1896, 53.5163, 29.5638)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC284 #8491CF
analogous
#CF9D84 #CFC284 #B7CF84
triadic
#CFC284 #84CFC2 #C284CF
tetradic
#CFC284 #84CF9D #8491CF #CF84B7
square
#CFC284 #84CF9D #8491CF #CF84B7
split-complementary
#CFC284 #84B7CF #9D84CF
monochromatic
#9C8B3D #BEAC58 #CFC284 #E0D8B0 #F1EEDC

Accessibility & contrast

On white

1.79
#CFC284 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CFC284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC284
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC284#FFFFFF#000000##000000
##CFC2841.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF80
Deuteranopia (green-blind)
#D1C386
Tritanopia (blue-blind)
#DAB9B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc284;
/* rgb */ color: rgb(207, 194, 132);
/* oklch */ color: oklch(81.0% 0.082 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfd4a8',
    500: '#cfc284',
    950: '#000000',
  },
}
SCSS
$custom: #cfc284;
$custom-light: #dfd4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc284",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 132
  },
  "hsl": {
    "h": 49.6,
    "s": 43.86,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81034,
    "c": 0.08202,
    "h": 97.8
  },
  "luminance": 0.53515
}

Semantic roles & 50–950 ramp

primary
#CFC284
secondary
#5663A2
accent
#46B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC284

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

Preview Lab → · Contrast checker → · Palette generator →

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