#CFC143#CFC143

#CFC143 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.144 H 102.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CFC143
RGBrgb(207, 193, 67)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 68%, 81%)
CMYKcmyk(0%, 6.8%, 67.6%, 18.8%)
CIE-LABlab(77.17, -9.55, 62.42)
CIE-LCHlch(77.17, 63.14, 98.70°)
OKLaboklab(79.99% -0.0321 0.14)
OKLCHoklch(79.99% 0.144 102.9)
XYZxyz(45.8171, 51.8124, 12.8965)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC143 #4351CF
analogous
#CF7B43 #CFC143 #97CF43
triadic
#CFC143 #43CFC1 #C143CF
tetradic
#CFC143 #43CF7B #4351CF #CF4397
square
#CFC143 #43CF7B #4351CF #CF4397
split-complementary
#CFC143 #4397CF #7B43CF
monochromatic
#79701F #AA9D2B #CFC143 #DBD174 #E8E1A5

Accessibility & contrast

On white

1.85
#CFC143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CFC143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC143
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC143#FFFFFF#000000##000000
##CFC1431.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#DEB4A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc143;
/* rgb */ color: rgb(207, 193, 67);
/* oklch */ color: oklch(80.0% 0.144 102.9);
Tailwind
colors: {
  custom: {
    50: '#e1d37e',
    500: '#cfc143',
    950: '#000000',
  },
}
SCSS
$custom: #cfc143;
$custom-light: #e1d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc143",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 54,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79991,
    "c": 0.14358,
    "h": 102.9
  },
  "luminance": 0.51811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC143

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

Preview Lab → · Contrast checker → · Palette generator →

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