#CFCB98#CFCB98

#CFCB98 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.068 H 104.0°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CFCB98
RGBrgb(207, 203, 152)
HSLhsl(56, 36%, 70%)
HSVhsv(56, 27%, 81%)
CMYKcmyk(0%, 1.9%, 26.6%, 18.8%)
CIE-LABlab(80.87, -6.65, 26.01)
CIE-LCHlch(80.87, 26.85, 104.35°)
OKLaboklab(83.28% -0.0163 0.0656)
OKLCHoklch(83.28% 0.068 104)
XYZxyz(52.7557, 58.2452, 38.1630)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB98 #989CCF
analogous
#CFAF98 #CFCB98 #B7CF98
triadic
#CFCB98 #98CFCB #CB98CF
tetradic
#CFCB98 #98CFAF #989CCF #CF98B7
square
#CFCB98 #98CFAF #989CCF #CF98B7
split-complementary
#CFCB98 #98B7CF #AF98CF
monochromatic
#A19B4B #BCB66E #CFCB98 #E2E0C2 #F5F4EA

Accessibility & contrast

On white

1.66
#CFCB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#CFCB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB98
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB98#FFFFFF#000000##000000
##CFCB981.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C795
Deuteranopia (green-blind)
#D6CA9A
Tritanopia (blue-blind)
#D7C4BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcb98;
/* rgb */ color: rgb(207, 203, 152);
/* oklch */ color: oklch(83.3% 0.068 104.0);
Tailwind
colors: {
  custom: {
    50: '#dedab6',
    500: '#cfcb98',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb98;
$custom-light: #dedab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb98",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 152
  },
  "hsl": {
    "h": 55.636,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83278,
    "c": 0.06758,
    "h": 104
  },
  "luminance": 0.58244
}

Semantic roles & 50–950 ramp

primary
#CFCB98
secondary
#676BA5
accent
#3FAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCB98

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

Preview Lab → · Contrast checker → · Palette generator →

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