#CFC043#CFC043

#CFC043 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.143 H 102.4°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CFC043
RGBrgb(207, 192, 67)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 68%, 81%)
CMYKcmyk(0%, 7.2%, 67.6%, 18.8%)
CIE-LABlab(76.90, -9.03, 62.15)
CIE-LCHlch(76.90, 62.80, 98.27°)
OKLaboklab(79.78% -0.0306 0.1394)
OKLCHoklch(79.78% 0.143 102.4)
XYZxyz(45.5968, 51.3718, 12.8231)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC043 #4352CF
analogous
#CF7A43 #CFC043 #98CF43
triadic
#CFC043 #43CFC0 #C043CF
tetradic
#CFC043 #43CF7A #4352CF #CF4398
square
#CFC043 #43CF7A #4352CF #CF4398
split-complementary
#CFC043 #4398CF #7A43CF
monochromatic
#796F1F #AA9C2B #CFC043 #DBD074 #E8E1A5

Accessibility & contrast

On white

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

On black

11.27
#CFC043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC043
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC043#FFFFFF#000000##000000
##CFC0431.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA31
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#DEB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc043;
/* rgb */ color: rgb(207, 192, 67);
/* oklch */ color: oklch(79.8% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e1d27e',
    500: '#cfc043',
    950: '#000000',
  },
}
SCSS
$custom: #cfc043;
$custom-light: #e1d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc043",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 53.571,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7978,
    "c": 0.14271,
    "h": 102.4
  },
  "luminance": 0.5137
}

Semantic roles & 50–950 ramp

primary
#CFC043
secondary
#353D81
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC043

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

Preview Lab → · Contrast checker → · Palette generator →

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