#CFC054#CFC054

#CFC054 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.129 H 101.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CFC054
RGBrgb(207, 192, 84)
HSLhsl(53, 56%, 57%)
HSVhsv(53, 59%, 81%)
CMYKcmyk(0%, 7.2%, 59.4%, 18.8%)
CIE-LABlab(77.05, -7.97, 55.07)
CIE-LCHlch(77.05, 55.65, 98.24°)
OKLaboklab(79.94% -0.0257 0.1269)
OKLCHoklch(79.94% 0.129 101.5)
XYZxyz(46.1837, 51.6066, 15.9141)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC054 #5463CF
analogous
#CF8354 #CFC054 #A1CF54
triadic
#CFC054 #54CFC0 #C054CF
tetradic
#CFC054 #54CF83 #5463CF #CF54A1
square
#CFC054 #54CF83 #5463CF #CF54A1
split-complementary
#CFC054 #54A1CF #8354CF
monochromatic
#847825 #B3A432 #CFC054 #DCD284 #EAE3B4

Accessibility & contrast

On white

1.85
#CFC054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CFC054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC054
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC054#FFFFFF#000000##000000
##CFC0541.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB48
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#DEB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc054;
/* rgb */ color: rgb(207, 192, 84);
/* oklch */ color: oklch(79.9% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#e0d288',
    500: '#cfc054',
    950: '#000000',
  },
}
SCSS
$custom: #cfc054;
$custom-light: #e0d288;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc054",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 84
  },
  "hsl": {
    "h": 52.683,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79938,
    "c": 0.12947,
    "h": 101.5
  },
  "luminance": 0.51605
}

Semantic roles & 50–950 ramp

primary
#CFC054
secondary
#3C468B
accent
#5BDF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC054

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

Preview Lab → · Contrast checker → · Palette generator →

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