#CFCF98#CFCF98

#CFCF98 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.1% C 0.072 H 107.9°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#CFCF98
RGBrgb(207, 207, 152)
HSLhsl(60, 36%, 70%)
HSVhsv(60, 27%, 81%)
CMYKcmyk(0%, 0%, 26.6%, 18.8%)
CIE-LABlab(81.92, -8.71, 27.43)
CIE-LCHlch(81.92, 28.78, 107.61°)
OKLaboklab(84.11% -0.0222 0.069)
OKLCHoklch(84.11% 0.072 107.9)
XYZxyz(53.7125, 60.1588, 38.4819)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF98 #9898CF
analogous
#CFB398 #CFCF98 #B3CF98
triadic
#CFCF98 #98CFCF #CF98CF
tetradic
#CFCF98 #98CFB3 #9898CF #CF98B3
square
#CFCF98 #98CFB3 #9898CF #CF98B3
split-complementary
#CFCF98 #98B3CF #B398CF
monochromatic
#A1A14B #BCBC6E #CFCF98 #E2E2C2 #F5F5EA

Accessibility & contrast

On white

1.61
#CFCF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#CFCF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF98
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF98#FFFFFF#000000##000000
##CFCF981.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA94
Deuteranopia (green-blind)
#D9CD9A
Tritanopia (blue-blind)
#D7C8C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfcf98;
/* rgb */ color: rgb(207, 207, 152);
/* oklch */ color: oklch(84.1% 0.072 107.9);
Tailwind
colors: {
  custom: {
    50: '#deddb6',
    500: '#cfcf98',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf98;
$custom-light: #deddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf98",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8411,
    "c": 0.07246,
    "h": 107.9
  },
  "luminance": 0.60158
}

Semantic roles & 50–950 ramp

primary
#CFCF98
secondary
#6767A5
accent
#36AF36
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCF98

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

Preview Lab → · Contrast checker → · Palette generator →

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