#CFC296#CFC296

#CFC296 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.060 H 93.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CFC296
RGBrgb(207, 194, 150)
HSLhsl(46, 37%, 70%)
HSVhsv(46, 28%, 81%)
CMYKcmyk(0%, 6.3%, 27.5%, 18.8%)
CIE-LABlab(78.49, -2.25, 23.83)
CIE-LCHlch(78.49, 23.94, 95.39°)
OKLaboklab(81.38% -0.0038 0.0603)
OKLCHoklch(81.38% 0.06 93.6)
XYZxyz(50.5293, 54.0522, 36.6196)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC296 #96A3CF
analogous
#CFA696 #CFC296 #BFCF96
triadic
#CFC296 #96CFC2 #C296CF
tetradic
#CFC296 #96CFA6 #96A3CF #CF96BF
square
#CFC296 #96CFA6 #96A3CF #CF96BF
split-complementary
#CFC296 #96BFCF #A696CF
monochromatic
#A18D4A #BCAA6C #CFC296 #E2DAC0 #F5F3EA

Accessibility & contrast

On white

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

On black

11.81
#CFC296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC296
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC296#FFFFFF#000000##000000
##CFC2961.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC093
Deuteranopia (green-blind)
#CFC497
Tritanopia (blue-blind)
#D8BBB6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc296;
/* rgb */ color: rgb(207, 194, 150);
/* oklch */ color: oklch(81.4% 0.060 93.6);
Tailwind
colors: {
  custom: {
    50: '#ded4b5',
    500: '#cfc296',
    950: '#000000',
  },
}
SCSS
$custom: #cfc296;
$custom-light: #ded4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc296",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 150
  },
  "hsl": {
    "h": 46.316,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.81384,
    "c": 0.0604,
    "h": 93.6
  },
  "luminance": 0.54051
}

Semantic roles & 50–950 ramp

primary
#CFC296
secondary
#6573A5
accent
#51B035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC296

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

Preview Lab → · Contrast checker → · Palette generator →

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