#CFC286#CFC286

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

Color values

HEX#CFC286
RGBrgb(207, 194, 134)
HSLhsl(49, 43%, 67%)
HSVhsv(49, 35%, 81%)
CMYKcmyk(0%, 6.3%, 35.3%, 18.8%)
CIE-LABlab(78.21, -4.27, 31.87)
CIE-LCHlch(78.21, 32.16, 97.64°)
OKLaboklab(81.07% -0.0103 0.079)
OKLCHoklch(81.07% 0.08 97.4)
XYZxyz(49.3277, 53.5716, 30.2915)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC286 #8693CF
analogous
#CF9E86 #CFC286 #B8CF86
triadic
#CFC286 #86CFC2 #C286CF
tetradic
#CFC286 #86CF9E #8693CF #CF86B8
square
#CFC286 #86CF9E #8693CF #CF86B8
split-complementary
#CFC286 #86B8CF #9E86CF
monochromatic
#9D8C3E #BEAC5A #CFC286 #E0D8B2 #F2EEDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC286#FFFFFF#000000##000000
##CFC2861.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)
#CEBF82
Deuteranopia (green-blind)
#D1C488
Tritanopia (blue-blind)
#DABAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc286;
/* rgb */ color: rgb(207, 194, 134);
/* oklch */ color: oklch(81.1% 0.080 97.4);
Tailwind
colors: {
  custom: {
    50: '#ded4aa',
    500: '#cfc286',
    950: '#000000',
  },
}
SCSS
$custom: #cfc286;
$custom-light: #ded4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc286",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 134
  },
  "hsl": {
    "h": 49.315,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8107,
    "c": 0.07968,
    "h": 97.4
  },
  "luminance": 0.5357
}

Semantic roles & 50–950 ramp

primary
#CFC286
secondary
#5764A2
accent
#47B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC286

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

Preview Lab → · Contrast checker → · Palette generator →

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