#CFC643#CFC643

#CFC643 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.148 H 105.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CFC643
RGBrgb(207, 198, 67)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 68%, 81%)
CMYKcmyk(0%, 4.3%, 67.6%, 18.8%)
CIE-LABlab(78.50, -12.09, 63.76)
CIE-LCHlch(78.50, 64.90, 100.74°)
OKLaboklab(81.05% -0.0393 0.1428)
OKLCHoklch(81.05% 0.148 105.4)
XYZxyz(46.9411, 54.0605, 13.2712)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC643 #434CCF
analogous
#CF8043 #CFC643 #92CF43
triadic
#CFC643 #43CFC6 #C643CF
tetradic
#CFC643 #43CF80 #434CCF #CF4392
square
#CFC643 #43CF80 #434CCF #CF4392
split-complementary
#CFC643 #4392CF #8043CF
monochromatic
#79731F #AAA12B #CFC643 #DBD574 #E8E4A5

Accessibility & contrast

On white

1.78
#CFC643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CFC643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC643
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC643#FFFFFF#000000##000000
##CFC6431.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF30
Deuteranopia (green-blind)
#DAC54B
Tritanopia (blue-blind)
#DEB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc643;
/* rgb */ color: rgb(207, 198, 67);
/* oklch */ color: oklch(81.0% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#e1d77e',
    500: '#cfc643',
    950: '#000000',
  },
}
SCSS
$custom: #cfc643;
$custom-light: #e1d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc643",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 56.143,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81048,
    "c": 0.1481,
    "h": 105.4
  },
  "luminance": 0.54059
}

Semantic roles & 50–950 ramp

primary
#CFC643
secondary
#353A81
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC643

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

Preview Lab → · Contrast checker → · Palette generator →

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