#CFC15C#CFC15C

#CFC15C is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.123 H 101.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CFC15C
RGBrgb(207, 193, 92)
HSLhsl(53, 55%, 59%)
HSVhsv(53, 56%, 81%)
CMYKcmyk(0%, 6.8%, 55.6%, 18.8%)
CIE-LABlab(77.39, -7.89, 51.79)
CIE-LCHlch(77.39, 52.39, 98.66°)
OKLaboklab(80.24% -0.0246 0.1208)
OKLCHoklch(80.24% 0.123 101.5)
XYZxyz(46.7354, 52.1798, 17.7330)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC15C #5C6ACF
analogous
#CF875C #CFC15C #A3CF5C
triadic
#CFC15C #5CCFC1 #C15CCF
tetradic
#CFC15C #5CCF87 #5C6ACF #CF5CA3
square
#CFC15C #5CCF87 #5C6ACF #CF5CA3
split-complementary
#CFC15C #5CA3CF #875CCF
monochromatic
#887D28 #B8A836 #CFC15C #DDD38B #EBE5BB

Accessibility & contrast

On white

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

On black

11.44
#CFC15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC15C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC15C#FFFFFF#000000##000000
##CFC15C1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC52
Deuteranopia (green-blind)
#D5C261
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc15c;
/* rgb */ color: rgb(207, 193, 92);
/* oklch */ color: oklch(80.2% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#e0d38d',
    500: '#cfc15c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc15c;
$custom-light: #e0d38d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc15c",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 52.696,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80236,
    "c": 0.12329,
    "h": 101.5
  },
  "luminance": 0.52178
}

Semantic roles & 50–950 ramp

primary
#CFC15C
secondary
#404A8F
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC15C

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

Preview Lab → · Contrast checker → · Palette generator →

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