#CFCA43#CFCA43

#CFCA43 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.152 H 107.2°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CFCA43
RGBrgb(207, 202, 67)
HSLhsl(58, 59%, 54%)
HSVhsv(58, 68%, 81%)
CMYKcmyk(0%, 2.4%, 67.6%, 18.8%)
CIE-LABlab(79.56, -14.11, 64.84)
CIE-LCHlch(79.56, 66.36, 102.28°)
OKLaboklab(81.9% -0.045 0.1451)
OKLCHoklch(81.9% 0.152 107.2)
XYZxyz(47.8675, 55.9133, 13.5800)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA43 #4348CF
analogous
#CF8443 #CFCA43 #8ECF43
triadic
#CFCA43 #43CFCA #CA43CF
tetradic
#CFCA43 #43CF84 #4348CF #CF438E
square
#CFCA43 #43CF84 #4348CF #CF438E
split-complementary
#CFCA43 #438ECF #8443CF
monochromatic
#79761F #AAA52B #CFCA43 #DBD874 #E8E5A5

Accessibility & contrast

On white

1.72
#CFCA43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CFCA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA43
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA43#FFFFFF#000000##000000
##CFCA431.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22F
Deuteranopia (green-blind)
#DDC84C
Tritanopia (blue-blind)
#DEBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca43;
/* rgb */ color: rgb(207, 202, 67);
/* oklch */ color: oklch(81.9% 0.152 107.2);
Tailwind
colors: {
  custom: {
    50: '#e1d97f',
    500: '#cfca43',
    950: '#000000',
  },
}
SCSS
$custom: #cfca43;
$custom-light: #e1d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca43",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 67
  },
  "hsl": {
    "h": 57.857,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.15188,
    "h": 107.2
  },
  "luminance": 0.55912
}

Semantic roles & 50–950 ramp

primary
#CFCA43
secondary
#353881
accent
#4BE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA43

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

Preview Lab → · Contrast checker → · Palette generator →

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