#CDCF8A#CDCF8A

#CDCF8A is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.090 H 109.6°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CDCF8A
RGBrgb(205, 207, 138)
HSLhsl(62, 42%, 68%)
HSVhsv(62, 33%, 81%)
CMYKcmyk(1%, 0%, 33.3%, 18.8%)
CIE-LABlab(81.53, -11.26, 34.13)
CIE-LCHlch(81.53, 35.94, 108.26°)
OKLaboklab(83.68% -0.0301 0.0844)
OKLCHoklch(83.68% 0.09 109.6)
XYZxyz(52.0775, 59.4406, 32.7696)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF8A #8C8ACF
analogous
#CFAE8A #CDCF8A #ABCF8A
triadic
#CDCF8A #8ACDCF #CF8ACD
tetradic
#CDCF8A #8ACFAE #8C8ACF #CF8AAB
square
#CDCF8A #8ACFAE #8C8ACF #CF8AAB
split-complementary
#CDCF8A #8AABCF #AE8ACF
monochromatic
#9B9E41 #BABD5F #CDCF8A #E0E1B5 #F2F3E1

Accessibility & contrast

On white

1.63
#CDCF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#CDCF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF8A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF8A#FFFFFF#000000##000000
##CDCF8A1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC985
Deuteranopia (green-blind)
#DACC8D
Tritanopia (blue-blind)
#D6C7BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf8a;
/* rgb */ color: rgb(205, 207, 138);
/* oklch */ color: oklch(83.7% 0.090 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddad',
    500: '#cdcf8a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf8a;
$custom-light: #ddddad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf8a",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 61.739,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83684,
    "c": 0.08962,
    "h": 109.6
  },
  "luminance": 0.5944
}

Semantic roles & 50–950 ramp

primary
#CDCF8A
secondary
#5C5AA4
accent
#31B534
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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