#CFCD98#CFCD98

#CFCD98 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.070 H 106.0°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CFCD98
RGBrgb(207, 205, 152)
HSLhsl(58, 36%, 70%)
HSVhsv(58, 27%, 81%)
CMYKcmyk(0%, 1%, 26.6%, 18.8%)
CIE-LABlab(81.40, -7.68, 26.72)
CIE-LCHlch(81.40, 27.80, 106.04°)
OKLaboklab(83.69% -0.0193 0.0673)
OKLCHoklch(83.69% 0.07 106)
XYZxyz(53.2310, 59.1959, 38.3215)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD98 #989ACF
analogous
#CFB198 #CFCD98 #B5CF98
triadic
#CFCD98 #98CFCD #CD98CF
tetradic
#CFCD98 #98CFB1 #989ACF #CF98B5
square
#CFCD98 #98CFB1 #989ACF #CF98B5
split-complementary
#CFCD98 #98B5CF #B198CF
monochromatic
#A19E4B #BCB96E #CFCD98 #E2E1C2 #F5F5EA

Accessibility & contrast

On white

1.64
#CFCD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CFCD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD98
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD98#FFFFFF#000000##000000
##CFCD981.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C995
Deuteranopia (green-blind)
#D7CB9A
Tritanopia (blue-blind)
#D7C6BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd98;
/* rgb */ color: rgb(207, 205, 152);
/* oklch */ color: oklch(83.7% 0.070 106.0);
Tailwind
colors: {
  custom: {
    50: '#dedcb6',
    500: '#cfcd98',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd98;
$custom-light: #dedcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd98",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 57.818,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83693,
    "c": 0.06998,
    "h": 106
  },
  "luminance": 0.59195
}

Semantic roles & 50–950 ramp

primary
#CFCD98
secondary
#6769A5
accent
#3BAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD98

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

Preview Lab → · Contrast checker → · Palette generator →

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