#CFDA3F#CFDA3F

#CFDA3F is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.3% C 0.171 H 113.5°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#CFDA3F
RGBrgb(207, 218, 63)
HSLhsl(64, 68%, 55%)
HSVhsv(64, 71%, 85%)
CMYKcmyk(5%, 0%, 71.1%, 14.5%)
CIE-LABlab(83.84, -22.21, 70.52)
CIE-LCHlch(83.84, 73.93, 107.48°)
OKLaboklab(85.31% -0.0681 0.1564)
OKLCHoklch(85.31% 0.171 113.5)
XYZxyz(51.7023, 63.7682, 14.2866)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA3F #4A3FDA
analogous
#DA973F #CFDA3F #81DA3F
triadic
#CFDA3F #3FCFDA #DA3FCF
tetradic
#CFDA3F #3FDA97 #4A3FDA #DA3F81
square
#CFDA3F #3FDA97 #4A3FDA #DA3F81
split-complementary
#CFDA3F #3F81DA #973FDA
monochromatic
#7D851A #AEB824 #CFDA3F #DCE472 #E9EEA6

Accessibility & contrast

On white

1.53
#CFDA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#CFDA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA3F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA3F#FFFFFF#000000##000000
##CFDA3F1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD022
Deuteranopia (green-blind)
#EAD34B
Tritanopia (blue-blind)
#DDCDBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfda3f;
/* rgb */ color: rgb(207, 218, 63);
/* oklch */ color: oklch(85.3% 0.171 113.5);
Tailwind
colors: {
  custom: {
    50: '#e1e57e',
    500: '#cfda3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfda3f;
$custom-light: #e1e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda3f",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 63
  },
  "hsl": {
    "h": 64.258,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85311,
    "c": 0.17054,
    "h": 113.5
  },
  "luminance": 0.63767
}

Semantic roles & 50–950 ramp

primary
#CFDA3F
secondary
#38328B
accent
#3DEB4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFDA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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