#CFCC5F#CFCC5F

#CFCC5F is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.132 H 107.5°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CFCC5F
RGBrgb(207, 204, 95)
HSLhsl(58, 54%, 59%)
HSVhsv(58, 54%, 81%)
CMYKcmyk(0%, 1.4%, 54.1%, 18.8%)
CIE-LABlab(80.34, -13.26, 53.79)
CIE-LCHlch(80.34, 55.40, 103.85°)
OKLaboklab(82.59% -0.0396 0.1255)
OKLCHoklch(82.59% 0.132 107.5)
XYZxyz(49.3919, 57.2787, 19.2783)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC5F #5F62CF
analogous
#CF945F #CFCC5F #9ACF5F
triadic
#CFCC5F #5FCFCC #CC5FCF
tetradic
#CFCC5F #5FCF94 #5F62CF #CF5F9A
square
#CFCC5F #5FCF94 #5F62CF #CF5F9A
split-complementary
#CFCC5F #5F9ACF #945FCF
monochromatic
#8A8829 #B9B638 #CFCC5F #DDDB8E #EBEABD

Accessibility & contrast

On white

1.69
#CFCC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CFCC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC5F
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC5F#FFFFFF#000000##000000
##CFCC5F1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#DDC965
Tritanopia (blue-blind)
#DCC0B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc5f;
/* rgb */ color: rgb(207, 204, 95);
/* oklch */ color: oklch(82.6% 0.132 107.5);
Tailwind
colors: {
  custom: {
    50: '#e0db90',
    500: '#cfcc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc5f;
$custom-light: #e0db90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc5f",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 58.393,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82589,
    "c": 0.13155,
    "h": 107.5
  },
  "luminance": 0.57277
}

Semantic roles & 50–950 ramp

primary
#CFCC5F
secondary
#414491
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFCC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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