#CFC343#CFC343

#CFC343 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.145 H 103.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CFC343
RGBrgb(207, 195, 67)
HSLhsl(55, 59%, 54%)
HSVhsv(55, 68%, 81%)
CMYKcmyk(0%, 5.8%, 67.6%, 18.8%)
CIE-LABlab(77.70, -10.57, 62.95)
CIE-LCHlch(77.70, 63.84, 99.53°)
OKLaboklab(80.41% -0.035 0.1411)
OKLCHoklch(80.41% 0.145 103.9)
XYZxyz(46.2622, 52.7027, 13.0449)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC343 #434FCF
analogous
#CF7D43 #CFC343 #95CF43
triadic
#CFC343 #43CFC3 #C343CF
tetradic
#CFC343 #43CF7D #434FCF #CF4395
square
#CFC343 #43CF7D #434FCF #CF4395
split-complementary
#CFC343 #4395CF #7D43CF
monochromatic
#79711F #AA9F2B #CFC343 #DBD374 #E8E2A5

Accessibility & contrast

On white

1.82
#CFC343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CFC343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC343
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC343#FFFFFF#000000##000000
##CFC3431.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD31
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#DEB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc343;
/* rgb */ color: rgb(207, 195, 67);
/* oklch */ color: oklch(80.4% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#e1d47e',
    500: '#cfc343',
    950: '#000000',
  },
}
SCSS
$custom: #cfc343;
$custom-light: #e1d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc343",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 54.857,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80413,
    "c": 0.14536,
    "h": 103.9
  },
  "luminance": 0.52701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC343

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

Preview Lab → · Contrast checker → · Palette generator →

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