#CFCF5F#CFCF5F

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

Color values

HEX#CFCF5F
RGBrgb(207, 207, 95)
HSLhsl(60, 54%, 59%)
HSVhsv(60, 54%, 81%)
CMYKcmyk(0%, 0%, 54.1%, 18.8%)
CIE-LABlab(81.14, -14.76, 54.71)
CIE-LCHlch(81.14, 56.66, 105.10°)
OKLaboklab(83.23% -0.0439 0.1274)
OKLCHoklch(83.23% 0.135 109)
XYZxyz(50.1118, 58.7185, 19.5183)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF5F #5F5FCF
analogous
#CF975F #CFCF5F #97CF5F
triadic
#CFCF5F #5FCFCF #CF5FCF
tetradic
#CFCF5F #5FCF97 #5F5FCF #CF5F97
square
#CFCF5F #5FCF97 #5F5FCF #CF5F97
split-complementary
#CFCF5F #5F97CF #975FCF
monochromatic
#8A8A29 #B9B938 #CFCF5F #DDDD8E #EBEBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF5F#FFFFFF#000000##000000
##CFCF5F1.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)
#DEC754
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#DCC3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf5f;
/* rgb */ color: rgb(207, 207, 95);
/* oklch */ color: oklch(83.2% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0dd90',
    500: '#cfcf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf5f;
$custom-light: #e0dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf5f",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83227,
    "c": 0.13476,
    "h": 109
  },
  "luminance": 0.58717
}

Semantic roles & 50–950 ramp

primary
#CFCF5F
secondary
#414191
accent
#4BDD4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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