#CFC386#CFC386

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

Color values

HEX#CFC386
RGBrgb(207, 195, 134)
HSLhsl(50, 43%, 67%)
HSVhsv(50, 35%, 81%)
CMYKcmyk(0%, 5.8%, 35.3%, 18.8%)
CIE-LABlab(78.47, -4.79, 32.21)
CIE-LCHlch(78.47, 32.57, 98.46°)
OKLaboklab(81.28% -0.0118 0.0798)
OKLCHoklch(81.28% 0.081 98.4)
XYZxyz(49.5510, 54.0182, 30.3660)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC386 #8692CF
analogous
#CF9F86 #CFC386 #B7CF86
triadic
#CFC386 #86CFC3 #C386CF
tetradic
#CFC386 #86CF9F #8692CF #CF86B7
square
#CFC386 #86CF9F #8692CF #CF86B7
split-complementary
#CFC386 #86B7CF #9F86CF
monochromatic
#9D8D3E #BEAD5A #CFC386 #E0D9B2 #F2EEDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC386#FFFFFF#000000##000000
##CFC3861.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)
#CFC082
Deuteranopia (green-blind)
#D2C488
Tritanopia (blue-blind)
#DABBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc386;
/* rgb */ color: rgb(207, 195, 134);
/* oklch */ color: oklch(81.3% 0.081 98.4);
Tailwind
colors: {
  custom: {
    50: '#ded5aa',
    500: '#cfc386',
    950: '#000000',
  },
}
SCSS
$custom: #cfc386;
$custom-light: #ded5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc386",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 134
  },
  "hsl": {
    "h": 50.137,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81276,
    "c": 0.08068,
    "h": 98.4
  },
  "luminance": 0.54017
}

Semantic roles & 50–950 ramp

primary
#CFC386
secondary
#5763A2
accent
#45B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC386

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

Preview Lab → · Contrast checker → · Palette generator →

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