#CFC155#CFC155

#CFC155 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.130 H 102.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CFC155
RGBrgb(207, 193, 85)
HSLhsl(53, 56%, 57%)
HSVhsv(53, 59%, 81%)
CMYKcmyk(0%, 6.8%, 58.9%, 18.8%)
CIE-LABlab(77.32, -8.41, 54.93)
CIE-LCHlch(77.32, 55.57, 98.71°)
OKLaboklab(80.16% -0.0269 0.1267)
OKLCHoklch(80.16% 0.13 102)
XYZxyz(46.4435, 52.0630, 16.1953)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC155 #5563CF
analogous
#CF8455 #CFC155 #A0CF55
triadic
#CFC155 #55CFC1 #C155CF
tetradic
#CFC155 #55CF84 #5563CF #CF55A0
square
#CFC155 #55CF84 #5563CF #CF55A0
split-complementary
#CFC155 #55A0CF #8455CF
monochromatic
#847925 #B4A533 #CFC155 #DCD285 #EAE4B4

Accessibility & contrast

On white

1.84
#CFC155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CFC155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC155
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC155#FFFFFF#000000##000000
##CFC1551.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB49
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc155;
/* rgb */ color: rgb(207, 193, 85);
/* oklch */ color: oklch(80.2% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#e0d389',
    500: '#cfc155',
    950: '#000000',
  },
}
SCSS
$custom: #cfc155;
$custom-light: #e0d389;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc155",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 53.115,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80158,
    "c": 0.12953,
    "h": 102
  },
  "luminance": 0.52061
}

Semantic roles & 50–950 ramp

primary
#CFC155
secondary
#3D468B
accent
#5ADF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC155

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

Preview Lab → · Contrast checker → · Palette generator →

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