#CFC755#CFC755

#CFC755 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.135 H 105.3°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CFC755
RGBrgb(207, 199, 85)
HSLhsl(56, 56%, 57%)
HSVhsv(56, 59%, 81%)
CMYKcmyk(0%, 3.9%, 58.9%, 18.8%)
CIE-LABlab(78.91, -11.48, 56.69)
CIE-LCHlch(78.91, 57.84, 101.45°)
OKLaboklab(81.42% -0.0356 0.1305)
OKLCHoklch(81.42% 0.135 105.3)
XYZxyz(47.7968, 54.7697, 16.6464)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC755 #555DCF
analogous
#CF8A55 #CFC755 #9ACF55
triadic
#CFC755 #55CFC7 #C755CF
tetradic
#CFC755 #55CF8A #555DCF #CF559A
square
#CFC755 #55CF8A #555DCF #CF559A
split-complementary
#CFC755 #559ACF #8A55CF
monochromatic
#847E25 #B4AC33 #CFC755 #DCD785 #EAE6B4

Accessibility & contrast

On white

1.76
#CFC755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CFC755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC755
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC755#FFFFFF#000000##000000
##CFC7551.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C048
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#DDBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc755;
/* rgb */ color: rgb(207, 199, 85);
/* oklch */ color: oklch(81.4% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#e0d789',
    500: '#cfc755',
    950: '#000000',
  },
}
SCSS
$custom: #cfc755;
$custom-light: #e0d789;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc755",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 56.066,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81422,
    "c": 0.13525,
    "h": 105.3
  },
  "luminance": 0.54768
}

Semantic roles & 50–950 ramp

primary
#CFC755
secondary
#3D428B
accent
#52DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC755

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

Preview Lab → · Contrast checker → · Palette generator →

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