#CFC285#CFC285

#CFC285 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.081 H 97.6°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CFC285
RGBrgb(207, 194, 133)
HSLhsl(49, 44%, 67%)
HSVhsv(49, 36%, 81%)
CMYKcmyk(0%, 6.3%, 35.7%, 18.8%)
CIE-LABlab(78.19, -4.39, 32.37)
CIE-LCHlch(78.19, 32.67, 97.73°)
OKLaboklab(81.05% -0.0107 0.0802)
OKLCHoklch(81.05% 0.081 97.6)
XYZxyz(49.2583, 53.5438, 29.9260)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC285 #8592CF
analogous
#CF9D85 #CFC285 #B7CF85
triadic
#CFC285 #85CFC2 #C285CF
tetradic
#CFC285 #85CF9D #8592CF #CF85B7
square
#CFC285 #85CF9D #8592CF #CF85B7
split-complementary
#CFC285 #85B7CF #9D85CF
monochromatic
#9C8C3D #BEAC59 #CFC285 #E0D8B1 #F2EEDD

Accessibility & contrast

On white

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

On black

11.71
#CFC285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC285
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC285#FFFFFF#000000##000000
##CFC2851.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc285;
/* rgb */ color: rgb(207, 194, 133);
/* oklch */ color: oklch(81.1% 0.081 97.6);
Tailwind
colors: {
  custom: {
    50: '#ded4a9',
    500: '#cfc285',
    950: '#000000',
  },
}
SCSS
$custom: #cfc285;
$custom-light: #ded4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc285",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 133
  },
  "hsl": {
    "h": 49.459,
    "s": 43.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81052,
    "c": 0.08086,
    "h": 97.6
  },
  "luminance": 0.53542
}

Semantic roles & 50–950 ramp

primary
#CFC285
secondary
#5664A2
accent
#47B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CFC285

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

Preview Lab → · Contrast checker → · Palette generator →

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