#FFCD98#FFCD98

#FFCD98 is a very light, moderate orange. Relative luminance 0.672; OKLCH L 88.0% C 0.089 H 67.9°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#FFCD98
RGBrgb(255, 205, 152)
HSLhsl(31, 100%, 80%)
HSVhsv(31, 40%, 100%)
CMYKcmyk(0%, 19.6%, 40.4%, 0%)
CIE-LABlab(85.60, 10.87, 33.08)
CIE-LCHlch(85.60, 34.82, 71.81°)
OKLaboklab(88% 0.0334 0.0821)
OKLCHoklch(88% 0.089 67.9)
XYZxyz(68.7410, 67.1932, 39.0485)
Luminance0.6719 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCD98 #98CAFF
analogous
#FF9A98 #FFCD98 #FDFF98
triadic
#FFCD98 #98FFCD #CD98FF
tetradic
#FFCD98 #98FF9A #98CAFF #FF98FD
square
#FFCD98 #98FF9A #98CAFF #FF98FD
split-complementary
#FFCD98 #98FDFF #9A98FF
monochromatic
#FF921E #FFAF5B #FFCD98 #FFEBD5 #FFF0E0

Accessibility & contrast

On white

1.45
#FFCD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#FFCD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCD98
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCD98#FFFFFF#000000##000000
##FFCD981.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF94
Deuteranopia (green-blind)
#EADB99
Tritanopia (blue-blind)
#FFC1BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ffcd98;
/* rgb */ color: rgb(255, 205, 152);
/* oklch */ color: oklch(88.0% 0.089 67.9);
Tailwind
colors: {
  custom: {
    50: '#ffdcb6',
    500: '#ffcd98',
    950: '#000000',
  },
}
SCSS
$custom: #ffcd98;
$custom-light: #ffdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcd98",
  "rgb": {
    "r": 255,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 30.874,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.87995,
    "c": 0.08866,
    "h": 67.9
  },
  "luminance": 0.6719
}

Semantic roles & 50–950 ramp

primary
#FFCD98
secondary
#599CE2
accent
#6FE600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FFCD98

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

Preview Lab → · Contrast checker → · Palette generator →

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