#CFC985#CFC985

#CFC985 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.088 H 103.8°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CFC985
RGBrgb(207, 201, 133)
HSLhsl(55, 44%, 67%)
HSVhsv(55, 36%, 81%)
CMYKcmyk(0%, 2.9%, 35.7%, 18.8%)
CIE-LABlab(80.03, -8.01, 34.77)
CIE-LCHlch(80.03, 35.68, 102.97°)
OKLaboklab(82.5% -0.0211 0.0857)
OKLCHoklch(82.5% 0.088 103.8)
XYZxyz(50.8531, 56.7333, 30.4575)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC985 #858BCF
analogous
#CFA485 #CFC985 #B0CF85
triadic
#CFC985 #85CFC9 #C985CF
tetradic
#CFC985 #85CFA4 #858BCF #CF85B0
square
#CFC985 #85CFA4 #858BCF #CF85B0
split-complementary
#CFC985 #85B0CF #A485CF
monochromatic
#9C943D #BEB659 #CFC985 #E0DCB1 #F2F0DD

Accessibility & contrast

On white

1.70
#CFC985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CFC985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC985
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC985#FFFFFF#000000##000000
##CFC9851.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C480
Deuteranopia (green-blind)
#D7C888
Tritanopia (blue-blind)
#D9C0B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfc985;
/* rgb */ color: rgb(207, 201, 133);
/* oklch */ color: oklch(82.5% 0.088 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd9a9',
    500: '#cfc985',
    950: '#000000',
  },
}
SCSS
$custom: #cfc985;
$custom-light: #dfd9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc985",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 133
  },
  "hsl": {
    "h": 55.135,
    "s": 43.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82504,
    "c": 0.08828,
    "h": 103.8
  },
  "luminance": 0.56732
}

Semantic roles & 50–950 ramp

primary
#CFC985
secondary
#565CA2
accent
#3AB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CFC985

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

Preview Lab → · Contrast checker → · Palette generator →

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