#CFC456#CFC456

#CFC456 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.131 H 103.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CFC456
RGBrgb(207, 196, 86)
HSLhsl(55, 56%, 57%)
HSVhsv(55, 58%, 81%)
CMYKcmyk(0%, 5.3%, 58.5%, 18.8%)
CIE-LABlab(78.12, -9.88, 55.37)
CIE-LCHlch(78.12, 56.25, 100.12°)
OKLaboklab(80.8% -0.0309 0.1278)
OKLCHoklch(80.8% 0.131 103.6)
XYZxyz(47.1534, 53.4188, 16.6293)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC456 #5661CF
analogous
#CF8756 #CFC456 #9ECF56
triadic
#CFC456 #56CFC4 #C456CF
tetradic
#CFC456 #56CF87 #5661CF #CF569E
square
#CFC456 #56CF87 #5661CF #CF569E
split-complementary
#CFC456 #569ECF #8756CF
monochromatic
#857C26 #B5A933 #CFC456 #DDD586 #EAE5B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC456#FFFFFF#000000##000000
##CFC4561.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)
#D4BE4A
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc456;
/* rgb */ color: rgb(207, 196, 86);
/* oklch */ color: oklch(80.8% 0.131 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d58a',
    500: '#cfc456',
    950: '#000000',
  },
}
SCSS
$custom: #cfc456;
$custom-light: #e0d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc456",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 54.545,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80799,
    "c": 0.13148,
    "h": 103.6
  },
  "luminance": 0.53417
}

Semantic roles & 50–950 ramp

primary
#CFC456
secondary
#3D448C
accent
#56DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC456

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

Preview Lab → · Contrast checker → · Palette generator →

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