#CFCF5C#CFCF5C

#CFCF5C is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.137 H 109.0°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CFCF5C
RGBrgb(207, 207, 92)
HSLhsl(60, 55%, 59%)
HSVhsv(60, 56%, 81%)
CMYKcmyk(0%, 0%, 55.6%, 18.8%)
CIE-LABlab(81.11, -15.00, 56.03)
CIE-LCHlch(81.11, 58.00, 104.98°)
OKLaboklab(83.19% -0.0449 0.1299)
OKLCHoklch(83.19% 0.137 109)
XYZxyz(49.9781, 58.6651, 18.8139)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF5C #5C5CCF
analogous
#CF955C #CFCF5C #95CF5C
triadic
#CFCF5C #5CCFCF #CF5CCF
tetradic
#CFCF5C #5CCF95 #5C5CCF #CF5C95
square
#CFCF5C #5CCF95 #5C5CCF #CF5C95
split-complementary
#CFCF5C #5C95CF #955CCF
monochromatic
#888828 #B8B836 #CFCF5C #DDDD8B #EBEBBB

Accessibility & contrast

On white

1.65
#CFCF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CFCF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF5C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF5C#FFFFFF#000000##000000
##CFCF5C1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC750
Deuteranopia (green-blind)
#E0CB62
Tritanopia (blue-blind)
#DCC3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf5c;
/* rgb */ color: rgb(207, 207, 92);
/* oklch */ color: oklch(83.2% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0dd8e',
    500: '#cfcf5c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf5c;
$custom-light: #e0dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf5c",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83194,
    "c": 0.13745,
    "h": 109
  },
  "luminance": 0.58664
}

Semantic roles & 50–950 ramp

primary
#CFCF5C
secondary
#40408F
accent
#4ADE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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