#CFC55F#CFC55F

#CFC55F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.124 H 103.7°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CFC55F
RGBrgb(207, 197, 95)
HSLhsl(55, 54%, 59%)
HSVhsv(55, 54%, 81%)
CMYKcmyk(0%, 4.8%, 54.1%, 18.8%)
CIE-LABlab(78.48, -9.70, 51.65)
CIE-LCHlch(78.48, 52.55, 100.64°)
OKLaboklab(81.11% -0.0294 0.1208)
OKLCHoklch(81.11% 0.124 103.7)
XYZxyz(47.7654, 54.0257, 18.7362)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC55F #5F69CF
analogous
#CF8D5F #CFC55F #A1CF5F
triadic
#CFC55F #5FCFC5 #C55FCF
tetradic
#CFC55F #5FCF8D #5F69CF #CF5FA1
square
#CFC55F #5FCF8D #5F69CF #CF5FA1
split-complementary
#CFC55F #5FA1CF #8D5FCF
monochromatic
#8A8229 #B9AE38 #CFC55F #DDD68E #EBE7BD

Accessibility & contrast

On white

1.78
#CFC55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CFC55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC55F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC55F#FFFFFF#000000##000000
##CFC55F1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#D8C564
Tritanopia (blue-blind)
#DDB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc55f;
/* rgb */ color: rgb(207, 197, 95);
/* oklch */ color: oklch(81.1% 0.124 103.7);
Tailwind
colors: {
  custom: {
    50: '#e0d68f',
    500: '#cfc55f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc55f;
$custom-light: #e0d68f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc55f",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 54.643,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8111,
    "c": 0.12436,
    "h": 103.7
  },
  "luminance": 0.54024
}

Semantic roles & 50–950 ramp

primary
#CFC55F
secondary
#414991
accent
#58DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC55F

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

Preview Lab → · Contrast checker → · Palette generator →

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