#CFCF5E#CFCF5E

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

Color values

HEX#CFCF5E
RGBrgb(207, 207, 94)
HSLhsl(60, 54%, 59%)
HSVhsv(60, 55%, 81%)
CMYKcmyk(0%, 0%, 54.6%, 18.8%)
CIE-LABlab(81.13, -14.84, 55.15)
CIE-LCHlch(81.13, 57.11, 105.06°)
OKLaboklab(83.22% -0.0442 0.1283)
OKLCHoklch(83.22% 0.136 109)
XYZxyz(50.0667, 58.7005, 19.2805)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF5E #5E5ECF
analogous
#CF975E #CFCF5E #97CF5E
triadic
#CFCF5E #5ECFCF #CF5ECF
tetradic
#CFCF5E #5ECF97 #5E5ECF #CF5E97
square
#CFCF5E #5ECF97 #5E5ECF #CF5E97
split-complementary
#CFCF5E #5E97CF #975ECF
monochromatic
#8A8A29 #B9B937 #CFCF5E #DDDD8D #EBEBBC

Accessibility & contrast

On white

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

On black

12.74
#CFCF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF5E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF5E#FFFFFF#000000##000000
##CFCF5E1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf5e;
/* rgb */ color: rgb(207, 207, 94);
/* oklch */ color: oklch(83.2% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0dd8f',
    500: '#cfcf5e',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf5e;
$custom-light: #e0dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf5e",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83216,
    "c": 0.13567,
    "h": 109
  },
  "luminance": 0.58699
}

Semantic roles & 50–950 ramp

primary
#CFCF5E
secondary
#414190
accent
#4ADD4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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