#CFCE3F#CFCE3F

#CFCE3F is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.7% C 0.158 H 109.0°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CFCE3F
RGBrgb(207, 206, 63)
HSLhsl(60, 60%, 53%)
HSVhsv(60, 70%, 81%)
CMYKcmyk(0%, 0.5%, 69.6%, 18.8%)
CIE-LABlab(80.61, -16.32, 67.37)
CIE-LCHlch(80.61, 69.32, 103.62°)
OKLaboklab(82.72% -0.0516 0.1497)
OKLCHoklch(82.72% 0.158 109)
XYZxyz(48.7024, 57.7684, 13.2866)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE3F #3F40CF
analogous
#CF863F #CFCE3F #88CF3F
triadic
#CFCE3F #3FCFCE #CE3FCF
tetradic
#CFCE3F #3FCF86 #3F40CF #CF3F88
square
#CFCE3F #3FCF86 #3F40CF #CF3F88
split-complementary
#CFCE3F #3F88CF #863FCF
monochromatic
#76751E #A7A62A #CFCE3F #DBDA70 #E7E7A1

Accessibility & contrast

On white

1.67
#CFCE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CFCE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE3F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE3F#FFFFFF#000000##000000
##CFCE3F1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#E0CA49
Tritanopia (blue-blind)
#DEC1B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce3f;
/* rgb */ color: rgb(207, 206, 63);
/* oklch */ color: oklch(82.7% 0.158 109.0);
Tailwind
colors: {
  custom: {
    50: '#e1dc7d',
    500: '#cfce3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfce3f;
$custom-light: #e1dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce3f",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 63
  },
  "hsl": {
    "h": 59.583,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82724,
    "c": 0.15836,
    "h": 109
  },
  "luminance": 0.57767
}

Semantic roles & 50–950 ramp

primary
#CFCE3F
secondary
#34347F
accent
#46E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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