#CFC081#CFC081

#CFC081 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.084 H 96.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CFC081
RGBrgb(207, 192, 129)
HSLhsl(48, 45%, 66%)
HSVhsv(48, 38%, 81%)
CMYKcmyk(0%, 7.2%, 37.7%, 18.8%)
CIE-LABlab(77.61, -3.81, 33.68)
CIE-LCHlch(77.61, 33.90, 96.46°)
OKLaboklab(80.57% -0.0093 0.0831)
OKLCHoklch(80.57% 0.084 96.4)
XYZxyz(48.5451, 52.5511, 28.3508)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC081 #8190CF
analogous
#CF9981 #CFC081 #B7CF81
triadic
#CFC081 #81CFC0 #C081CF
tetradic
#CFC081 #81CF99 #8190CF #CF81B7
square
#CFC081 #81CF99 #8190CF #CF81B7
split-complementary
#CFC081 #81B7CF #9981CF
monochromatic
#9B883B #BEAA55 #CFC081 #E0D6AD #F1ECDA

Accessibility & contrast

On white

1.82
#CFC081 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CFC081 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC081
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC081#FFFFFF#000000##000000
##CFC0811.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7C
Deuteranopia (green-blind)
#D0C283
Tritanopia (blue-blind)
#DAB7B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc081;
/* rgb */ color: rgb(207, 192, 129);
/* oklch */ color: oklch(80.6% 0.084 96.4);
Tailwind
colors: {
  custom: {
    50: '#dfd2a6',
    500: '#cfc081',
    950: '#000000',
  },
}
SCSS
$custom: #cfc081;
$custom-light: #dfd2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc081",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 129
  },
  "hsl": {
    "h": 48.462,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.80568,
    "c": 0.08357,
    "h": 96.4
  },
  "luminance": 0.5255
}

Semantic roles & 50–950 ramp

primary
#CFC081
secondary
#5463A0
accent
#48B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC081

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

Preview Lab → · Contrast checker → · Palette generator →

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