#CFC180#CFC180

#CFC180 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.086 H 97.5°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CFC180
RGBrgb(207, 193, 128)
HSLhsl(49, 45%, 66%)
HSVhsv(49, 38%, 81%)
CMYKcmyk(0%, 6.8%, 38.2%, 18.8%)
CIE-LABlab(77.85, -4.45, 34.52)
CIE-LCHlch(77.85, 34.81, 97.34°)
OKLaboklab(80.76% -0.0112 0.085)
OKLCHoklch(80.76% 0.086 97.5)
XYZxyz(48.6993, 52.9653, 28.0759)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC180 #808ECF
analogous
#CF9980 #CFC180 #B5CF80
triadic
#CFC180 #80CFC1 #C180CF
tetradic
#CFC180 #80CF99 #808ECF #CF80B5
square
#CFC180 #80CF99 #808ECF #CF80B5
split-complementary
#CFC180 #80B5CF #9980CF
monochromatic
#9A893A #BEAB54 #CFC180 #E0D7AC #F1ECD9

Accessibility & contrast

On white

1.81
#CFC180 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CFC180 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC180
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC180#FFFFFF#000000##000000
##CFC1801.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE7B
Deuteranopia (green-blind)
#D1C382
Tritanopia (blue-blind)
#DAB8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc180;
/* rgb */ color: rgb(207, 193, 128);
/* oklch */ color: oklch(80.8% 0.086 97.5);
Tailwind
colors: {
  custom: {
    50: '#dfd3a5',
    500: '#cfc180',
    950: '#000000',
  },
}
SCSS
$custom: #cfc180;
$custom-light: #dfd3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc180",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 128
  },
  "hsl": {
    "h": 49.367,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80757,
    "c": 0.08568,
    "h": 97.5
  },
  "luminance": 0.52964
}

Semantic roles & 50–950 ramp

primary
#CFC180
secondary
#5361A0
accent
#46B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC180

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

Preview Lab → · Contrast checker → · Palette generator →

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