#CFC442#CFC442

#CFC442 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.147 H 104.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CFC442
RGBrgb(207, 196, 66)
HSLhsl(55, 59%, 54%)
HSVhsv(55, 68%, 81%)
CMYKcmyk(0%, 5.3%, 68.1%, 18.8%)
CIE-LABlab(77.96, -11.13, 63.61)
CIE-LCHlch(77.96, 64.57, 99.93°)
OKLaboklab(80.62% -0.0367 0.1423)
OKLCHoklch(80.62% 0.147 104.5)
XYZxyz(46.4573, 53.1404, 12.9632)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC442 #424DCF
analogous
#CF7D42 #CFC442 #93CF42
triadic
#CFC442 #42CFC4 #C442CF
tetradic
#CFC442 #42CF7D #424DCF #CF4293
square
#CFC442 #42CF7D #424DCF #CF4293
split-complementary
#CFC442 #4293CF #7D42CF
monochromatic
#78711F #A99F2B #CFC442 #DBD373 #E8E2A4

Accessibility & contrast

On white

1.81
#CFC442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CFC442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC442
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC442#FFFFFF#000000##000000
##CFC4421.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2F
Deuteranopia (green-blind)
#D9C34A
Tritanopia (blue-blind)
#DEB7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc442;
/* rgb */ color: rgb(207, 196, 66);
/* oklch */ color: oklch(80.6% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#e1d57e',
    500: '#cfc442',
    950: '#000000',
  },
}
SCSS
$custom: #cfc442;
$custom-light: #e1d57e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc442",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 55.319,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80616,
    "c": 0.14694,
    "h": 104.5
  },
  "luminance": 0.53139
}

Semantic roles & 50–950 ramp

primary
#CFC442
secondary
#353B80
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC442

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

Preview Lab → · Contrast checker → · Palette generator →

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