#CFC481#CFC481

#CFC481 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.088 H 100.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CFC481
RGBrgb(207, 196, 129)
HSLhsl(52, 45%, 66%)
HSVhsv(52, 38%, 81%)
CMYKcmyk(0%, 5.3%, 37.7%, 18.8%)
CIE-LABlab(78.65, -5.89, 35.04)
CIE-LCHlch(78.65, 35.53, 99.55°)
OKLaboklab(81.4% -0.0153 0.0862)
OKLCHoklch(81.4% 0.088 100.1)
XYZxyz(49.4353, 54.3316, 28.6476)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC481 #818CCF
analogous
#CF9D81 #CFC481 #B3CF81
triadic
#CFC481 #81CFC4 #C481CF
tetradic
#CFC481 #81CF9D #818CCF #CF81B3
square
#CFC481 #81CF9D #818CCF #CF81B3
split-complementary
#CFC481 #81B3CF #9D81CF
monochromatic
#9B8D3B #BEAF55 #CFC481 #E0D9AD #F1EEDA

Accessibility & contrast

On white

1.77
#CFC481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CFC481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC481
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC481#FFFFFF#000000##000000
##CFC4811.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07C
Deuteranopia (green-blind)
#D3C584
Tritanopia (blue-blind)
#DABBB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc481;
/* rgb */ color: rgb(207, 196, 129);
/* oklch */ color: oklch(81.4% 0.088 100.1);
Tailwind
colors: {
  custom: {
    50: '#dfd5a6',
    500: '#cfc481',
    950: '#000000',
  },
}
SCSS
$custom: #cfc481;
$custom-light: #dfd5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc481",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 129
  },
  "hsl": {
    "h": 51.538,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81395,
    "c": 0.08753,
    "h": 100.1
  },
  "luminance": 0.5433
}

Semantic roles & 50–950 ramp

primary
#CFC481
secondary
#545FA0
accent
#41B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC481

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

Preview Lab → · Contrast checker → · Palette generator →

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