#CFC33F#CFC33F

#CFC33F is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.148 H 104.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CFC33F
RGBrgb(207, 195, 63)
HSLhsl(55, 60%, 53%)
HSVhsv(55, 70%, 81%)
CMYKcmyk(0%, 5.8%, 69.6%, 18.8%)
CIE-LABlab(77.67, -10.78, 64.47)
CIE-LCHlch(77.67, 65.36, 99.49°)
OKLaboklab(80.38% -0.036 0.1436)
OKLCHoklch(80.38% 0.148 104.1)
XYZxyz(46.1463, 52.6563, 12.4346)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC33F #3F4BCF
analogous
#CF7B3F #CFC33F #93CF3F
triadic
#CFC33F #3FCFC3 #C33FCF
tetradic
#CFC33F #3FCF7B #3F4BCF #CF3F93
square
#CFC33F #3FCF7B #3F4BCF #CF3F93
split-complementary
#CFC33F #3F93CF #7B3FCF
monochromatic
#766F1E #A79D2A #CFC33F #DBD270 #E7E2A1

Accessibility & contrast

On white

1.82
#CFC33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CFC33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC33F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC33F#FFFFFF#000000##000000
##CFC33F1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2A
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#DEB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc33f;
/* rgb */ color: rgb(207, 195, 63);
/* oklch */ color: oklch(80.4% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#e1d47c',
    500: '#cfc33f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc33f;
$custom-light: #e1d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc33f",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 55,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80382,
    "c": 0.14806,
    "h": 104.1
  },
  "luminance": 0.52654
}

Semantic roles & 50–950 ramp

primary
#CFC33F
secondary
#343A7F
accent
#52E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC33F

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

Preview Lab → · Contrast checker → · Palette generator →

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