#CFC366#CFC366

#CFC366 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.116 H 102.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CFC366
RGBrgb(207, 195, 102)
HSLhsl(53, 52%, 61%)
HSVhsv(53, 51%, 81%)
CMYKcmyk(0%, 5.8%, 50.7%, 18.8%)
CIE-LABlab(78.03, -8.09, 47.79)
CIE-LCHlch(78.03, 48.47, 99.61°)
OKLaboklab(80.78% -0.0241 0.1131)
OKLCHoklch(80.78% 0.116 102)
XYZxyz(47.6469, 53.2565, 20.3375)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC366 #6672CF
analogous
#CF8E66 #CFC366 #A6CF66
triadic
#CFC366 #66CFC3 #C366CF
tetradic
#CFC366 #66CF8E #6672CF #CF66A6
square
#CFC366 #66CF8E #6672CF #CF66A6
split-complementary
#CFC366 #66A6CF #8E66CF
monochromatic
#8E832D #BDAE3B #CFC366 #DED595 #ECE8C3

Accessibility & contrast

On white

1.80
#CFC366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CFC366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC366
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC366#FFFFFF#000000##000000
##CFC3661.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#DCB8AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc366;
/* rgb */ color: rgb(207, 195, 102);
/* oklch */ color: oklch(80.8% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#e0d494',
    500: '#cfc366',
    950: '#000000',
  },
}
SCSS
$custom: #cfc366;
$custom-light: #e0d494;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc366",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 53.143,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80778,
    "c": 0.11565,
    "h": 102
  },
  "luminance": 0.53255
}

Semantic roles & 50–950 ramp

primary
#CFC366
secondary
#454E94
accent
#37C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC366

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

Preview Lab → · Contrast checker → · Palette generator →

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