#CFC43F#CFC43F

#CFC43F is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.149 H 104.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CFC43F
RGBrgb(207, 196, 63)
HSLhsl(55, 60%, 53%)
HSVhsv(55, 70%, 81%)
CMYKcmyk(0%, 5.3%, 69.6%, 18.8%)
CIE-LABlab(77.94, -11.29, 64.73)
CIE-LCHlch(77.94, 65.71, 99.89°)
OKLaboklab(80.59% -0.0374 0.1442)
OKLCHoklch(80.59% 0.149 104.6)
XYZxyz(46.3711, 53.1059, 12.5095)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC43F #3F4ACF
analogous
#CF7C3F #CFC43F #92CF3F
triadic
#CFC43F #3FCFC4 #C43FCF
tetradic
#CFC43F #3FCF7C #3F4ACF #CF3F92
square
#CFC43F #3FCF7C #3F4ACF #CF3F92
split-complementary
#CFC43F #3F92CF #7C3FCF
monochromatic
#766F1E #A79D2A #CFC43F #DBD370 #E7E2A1

Accessibility & contrast

On white

1.81
#CFC43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CFC43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC43F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC43F#FFFFFF#000000##000000
##CFC43F1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2A
Deuteranopia (green-blind)
#D9C348
Tritanopia (blue-blind)
#DEB7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc43f;
/* rgb */ color: rgb(207, 196, 63);
/* oklch */ color: oklch(80.6% 0.149 104.6);
Tailwind
colors: {
  custom: {
    50: '#e1d57c',
    500: '#cfc43f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc43f;
$custom-light: #e1d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc43f",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 63
  },
  "hsl": {
    "h": 55.417,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80594,
    "c": 0.14894,
    "h": 104.6
  },
  "luminance": 0.53104
}

Semantic roles & 50–950 ramp

primary
#CFC43F
secondary
#34397F
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC43F

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

Preview Lab → · Contrast checker → · Palette generator →

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