#CFC050#CFC050

#CFC050 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.133 H 101.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CFC050
RGBrgb(207, 192, 80)
HSLhsl(53, 57%, 56%)
HSVhsv(53, 61%, 81%)
CMYKcmyk(0%, 7.2%, 61.4%, 18.8%)
CIE-LABlab(77.01, -8.25, 56.81)
CIE-LCHlch(77.01, 57.40, 98.26°)
OKLaboklab(79.9% -0.027 0.1301)
OKLCHoklch(79.9% 0.133 101.7)
XYZxyz(46.0315, 51.5457, 15.1125)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC050 #505FCF
analogous
#CF8150 #CFC050 #9FCF50
triadic
#CFC050 #50CFC0 #C050CF
tetradic
#CFC050 #50CF81 #505FCF #CF509F
square
#CFC050 #50CF81 #505FCF #CF509F
split-complementary
#CFC050 #509FCF #8150CF
monochromatic
#817623 #B1A231 #CFC050 #DCD180 #E9E3B0

Accessibility & contrast

On white

1.86
#CFC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CFC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC050
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC050#FFFFFF#000000##000000
##CFC0501.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#DEB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc050;
/* rgb */ color: rgb(207, 192, 80);
/* oklch */ color: oklch(79.9% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#e1d286',
    500: '#cfc050',
    950: '#000000',
  },
}
SCSS
$custom: #cfc050;
$custom-light: #e1d286;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc050",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 52.913,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79897,
    "c": 0.13282,
    "h": 101.7
  },
  "luminance": 0.51544
}

Semantic roles & 50–950 ramp

primary
#CFC050
secondary
#3B4489
accent
#5AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC050

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

Preview Lab → · Contrast checker → · Palette generator →

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