#CFC384#CFC384

#CFC384 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.083 H 98.7°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CFC384
RGBrgb(207, 195, 132)
HSLhsl(50, 44%, 66%)
HSVhsv(50, 36%, 81%)
CMYKcmyk(0%, 5.8%, 36.2%, 18.8%)
CIE-LABlab(78.44, -5.03, 33.21)
CIE-LCHlch(78.44, 33.59, 98.61°)
OKLaboklab(81.24% -0.0126 0.0821)
OKLCHoklch(81.24% 0.083 98.7)
XYZxyz(49.4129, 53.9629, 29.6383)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC384 #8490CF
analogous
#CF9E84 #CFC384 #B6CF84
triadic
#CFC384 #84CFC3 #C384CF
tetradic
#CFC384 #84CF9E #8490CF #CF84B6
square
#CFC384 #84CF9E #8490CF #CF84B6
split-complementary
#CFC384 #84B6CF #9E84CF
monochromatic
#9C8D3D #BEAE58 #CFC384 #E0D8B0 #F1EEDC

Accessibility & contrast

On white

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

On black

11.79
#CFC384 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC384
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC384#FFFFFF#000000##000000
##CFC3841.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc384;
/* rgb */ color: rgb(207, 195, 132);
/* oklch */ color: oklch(81.2% 0.083 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfd5a8',
    500: '#cfc384',
    950: '#000000',
  },
}
SCSS
$custom: #cfc384;
$custom-light: #dfd5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc384",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 132
  },
  "hsl": {
    "h": 50.4,
    "s": 43.86,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8124,
    "c": 0.08303,
    "h": 98.7
  },
  "luminance": 0.53962
}

Semantic roles & 50–950 ramp

primary
#CFC384
secondary
#5662A2
accent
#44B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CFC384

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

Preview Lab → · Contrast checker → · Palette generator →

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