#CFC280#CFC280

#CFC280 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.087 H 98.4°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CFC280
RGBrgb(207, 194, 128)
HSLhsl(50, 45%, 66%)
HSVhsv(50, 38%, 81%)
CMYKcmyk(0%, 6.3%, 38.2%, 18.8%)
CIE-LABlab(78.12, -4.97, 34.86)
CIE-LCHlch(78.12, 35.21, 98.11°)
OKLaboklab(80.96% -0.0127 0.0857)
OKLCHoklch(80.96% 0.087 98.4)
XYZxyz(48.9211, 53.4089, 28.1498)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC280 #808DCF
analogous
#CF9A80 #CFC280 #B4CF80
triadic
#CFC280 #80CFC2 #C280CF
tetradic
#CFC280 #80CF9A #808DCF #CF80B4
square
#CFC280 #80CF9A #808DCF #CF80B4
split-complementary
#CFC280 #80B4CF #9A80CF
monochromatic
#9A8A3A #BEAD54 #CFC280 #E0D7AC #F1EDD9

Accessibility & contrast

On white

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

On black

11.68
#CFC280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC280
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC280#FFFFFF#000000##000000
##CFC2801.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7B
Deuteranopia (green-blind)
#D2C382
Tritanopia (blue-blind)
#DAB9B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc280;
/* rgb */ color: rgb(207, 194, 128);
/* oklch */ color: oklch(81.0% 0.087 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfd4a5',
    500: '#cfc280',
    950: '#000000',
  },
}
SCSS
$custom: #cfc280;
$custom-light: #dfd4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc280",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 128
  },
  "hsl": {
    "h": 50.127,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80963,
    "c": 0.08666,
    "h": 98.4
  },
  "luminance": 0.53407
}

Semantic roles & 50–950 ramp

primary
#CFC280
secondary
#5360A0
accent
#44B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC280

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

Preview Lab → · Contrast checker → · Palette generator →

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