#CFC345#CFC345

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

Color values

HEX#CFC345
RGBrgb(207, 195, 69)
HSLhsl(55, 59%, 54%)
HSVhsv(55, 67%, 81%)
CMYKcmyk(0%, 5.8%, 66.7%, 18.8%)
CIE-LABlab(77.71, -10.46, 62.18)
CIE-LCHlch(77.71, 63.05, 99.55°)
OKLaboklab(80.43% -0.0345 0.1398)
OKLCHoklch(80.43% 0.144 103.9)
XYZxyz(46.3233, 52.7271, 13.3663)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC345 #4551CF
analogous
#CF7E45 #CFC345 #96CF45
triadic
#CFC345 #45CFC3 #C345CF
tetradic
#CFC345 #45CF7E #4551CF #CF4596
square
#CFC345 #45CF7E #4551CF #CF4596
split-complementary
#CFC345 #4596CF #7E45CF
monochromatic
#7A7220 #ABA02C #CFC345 #DCD376 #E8E2A6

Accessibility & contrast

On white

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

On black

11.55
#CFC345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC345
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC345#FFFFFF#000000##000000
##CFC3451.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc345;
/* rgb */ color: rgb(207, 195, 69);
/* oklch */ color: oklch(80.4% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#e1d47f',
    500: '#cfc345',
    950: '#000000',
  },
}
SCSS
$custom: #cfc345;
$custom-light: #e1d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc345",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 54.783,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80429,
    "c": 0.14396,
    "h": 103.9
  },
  "luminance": 0.52725
}

Semantic roles & 50–950 ramp

primary
#CFC345
secondary
#363D82
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC345

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

Preview Lab → · Contrast checker → · Palette generator →

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