#CFC250#CFC250

#CFC250 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.135 H 102.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CFC250
RGBrgb(207, 194, 80)
HSLhsl(54, 57%, 56%)
HSVhsv(54, 61%, 81%)
CMYKcmyk(0%, 6.3%, 61.4%, 18.8%)
CIE-LABlab(77.54, -9.27, 57.38)
CIE-LCHlch(77.54, 58.13, 99.18°)
OKLaboklab(80.32% -0.0299 0.1313)
OKLCHoklch(80.32% 0.135 102.8)
XYZxyz(46.4736, 52.4299, 15.2598)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC250 #505DCF
analogous
#CF8350 #CFC250 #9DCF50
triadic
#CFC250 #50CFC2 #C250CF
tetradic
#CFC250 #50CF83 #505DCF #CF509D
square
#CFC250 #50CF83 #505DCF #CF509D
split-complementary
#CFC250 #509DCF #8350CF
monochromatic
#817823 #B1A431 #CFC250 #DCD380 #E9E3B0

Accessibility & contrast

On white

1.83
#CFC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CFC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC250
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC250#FFFFFF#000000##000000
##CFC2501.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc250;
/* rgb */ color: rgb(207, 194, 80);
/* oklch */ color: oklch(80.3% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#e1d486',
    500: '#cfc250',
    950: '#000000',
  },
}
SCSS
$custom: #cfc250;
$custom-light: #e1d486;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc250",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 53.858,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80317,
    "c": 0.13464,
    "h": 102.8
  },
  "luminance": 0.52428
}

Semantic roles & 50–950 ramp

primary
#CFC250
secondary
#3B4389
accent
#57E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC250

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

Preview Lab → · Contrast checker → · Palette generator →

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