#CFC385#CFC385

#CFC385 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.3% C 0.082 H 98.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CFC385
RGBrgb(207, 195, 133)
HSLhsl(50, 44%, 67%)
HSVhsv(50, 36%, 81%)
CMYKcmyk(0%, 5.8%, 35.7%, 18.8%)
CIE-LABlab(78.46, -4.91, 32.71)
CIE-LCHlch(78.46, 33.08, 98.54°)
OKLaboklab(81.26% -0.0122 0.0809)
OKLCHoklch(81.26% 0.082 98.6)
XYZxyz(49.4816, 53.9904, 30.0004)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC385 #8591CF
analogous
#CF9E85 #CFC385 #B6CF85
triadic
#CFC385 #85CFC3 #C385CF
tetradic
#CFC385 #85CF9E #8591CF #CF85B6
square
#CFC385 #85CF9E #8591CF #CF85B6
split-complementary
#CFC385 #85B6CF #9E85CF
monochromatic
#9C8D3D #BEAD59 #CFC385 #E0D9B1 #F2EEDD

Accessibility & contrast

On white

1.78
#CFC385 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CFC385 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC385
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC385#FFFFFF#000000##000000
##CFC3851.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF81
Deuteranopia (green-blind)
#D2C487
Tritanopia (blue-blind)
#DABAB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc385;
/* rgb */ color: rgb(207, 195, 133);
/* oklch */ color: oklch(81.3% 0.082 98.6);
Tailwind
colors: {
  custom: {
    50: '#ded5a9',
    500: '#cfc385',
    950: '#000000',
  },
}
SCSS
$custom: #cfc385;
$custom-light: #ded5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc385",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 133
  },
  "hsl": {
    "h": 50.27,
    "s": 43.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81258,
    "c": 0.08186,
    "h": 98.6
  },
  "luminance": 0.53989
}

Semantic roles & 50–950 ramp

primary
#CFC385
secondary
#5663A2
accent
#45B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CFC385

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

Preview Lab → · Contrast checker → · Palette generator →

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