#CFC243#CFC243

#CFC243 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.144 H 103.4°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CFC243
RGBrgb(207, 194, 67)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 68%, 81%)
CMYKcmyk(0%, 6.3%, 67.6%, 18.8%)
CIE-LABlab(77.43, -10.06, 62.69)
CIE-LCHlch(77.43, 63.49, 99.11°)
OKLaboklab(80.2% -0.0336 0.1405)
OKLCHoklch(80.2% 0.144 103.4)
XYZxyz(46.0389, 52.2560, 12.9704)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC243 #4350CF
analogous
#CF7C43 #CFC243 #96CF43
triadic
#CFC243 #43CFC2 #C243CF
tetradic
#CFC243 #43CF7C #4350CF #CF4396
square
#CFC243 #43CF7C #4350CF #CF4396
split-complementary
#CFC243 #4396CF #7C43CF
monochromatic
#79701F #AA9E2B #CFC243 #DBD274 #E8E2A5

Accessibility & contrast

On white

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

On black

11.45
#CFC243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC243
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC243#FFFFFF#000000##000000
##CFC2431.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC31
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#DEB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc243;
/* rgb */ color: rgb(207, 194, 67);
/* oklch */ color: oklch(80.2% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e1d47e',
    500: '#cfc243',
    950: '#000000',
  },
}
SCSS
$custom: #cfc243;
$custom-light: #e1d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc243",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 54.429,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80202,
    "c": 0.14447,
    "h": 103.4
  },
  "luminance": 0.52254
}

Semantic roles & 50–950 ramp

primary
#CFC243
secondary
#353C81
accent
#54E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC243

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

Preview Lab → · Contrast checker → · Palette generator →

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