#CFC150#CFC150

#CFC150 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.134 H 102.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CFC150
RGBrgb(207, 193, 80)
HSLhsl(53, 57%, 56%)
HSVhsv(53, 61%, 81%)
CMYKcmyk(0%, 6.8%, 61.4%, 18.8%)
CIE-LABlab(77.27, -8.76, 57.10)
CIE-LCHlch(77.27, 57.76, 98.72°)
OKLaboklab(80.11% -0.0284 0.1307)
OKLCHoklch(80.11% 0.134 102.3)
XYZxyz(46.2518, 51.9863, 15.1859)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC150 #505ECF
analogous
#CF8250 #CFC150 #9ECF50
triadic
#CFC150 #50CFC1 #C150CF
tetradic
#CFC150 #50CF82 #505ECF #CF509E
square
#CFC150 #50CF82 #505ECF #CF509E
split-complementary
#CFC150 #509ECF #8250CF
monochromatic
#817723 #B1A331 #CFC150 #DCD280 #E9E3B0

Accessibility & contrast

On white

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

On black

11.40
#CFC150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC150
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC150#FFFFFF#000000##000000
##CFC1501.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc150;
/* rgb */ color: rgb(207, 193, 80);
/* oklch */ color: oklch(80.1% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#e1d386',
    500: '#cfc150',
    950: '#000000',
  },
}
SCSS
$custom: #cfc150;
$custom-light: #e1d386;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc150",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 53.386,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80107,
    "c": 0.13372,
    "h": 102.3
  },
  "luminance": 0.51985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC150

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

Preview Lab → · Contrast checker → · Palette generator →

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