#CDCF7B#CDCF7B

#CDCF7B is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.107 H 109.7°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CDCF7B
RGBrgb(205, 207, 123)
HSLhsl(61, 47%, 65%)
HSVhsv(61, 41%, 81%)
CMYKcmyk(1%, 0%, 40.6%, 18.8%)
CIE-LABlab(81.31, -12.97, 41.45)
CIE-LCHlch(81.31, 43.43, 107.38°)
OKLaboklab(83.44% -0.036 0.1006)
OKLCHoklch(83.44% 0.107 109.7)
XYZxyz(51.0655, 59.0358, 27.4400)
Luminance0.5904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF7B #7D7BCF
analogous
#CFA77B #CDCF7B #A3CF7B
triadic
#CDCF7B #7BCDCF #CF7BCD
tetradic
#CDCF7B #7BCFA7 #7D7BCF #CF7BA3
square
#CDCF7B #7BCFA7 #7D7BCF #CF7BA3
split-complementary
#CDCF7B #7BA3CF #A77BCF
monochromatic
#969837 #BCBF4E #CDCF7B #DEDFA8 #EFF0D5

Accessibility & contrast

On white

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

On black

12.81
#CDCF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF7B
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF7B#FFFFFF#000000##000000
##CDCF7B1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC874
Deuteranopia (green-blind)
#DCCB7F
Tritanopia (blue-blind)
#D8C6BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf7b;
/* rgb */ color: rgb(205, 207, 123);
/* oklch */ color: oklch(83.4% 0.107 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddda2',
    500: '#cdcf7b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf7b;
$custom-light: #dddda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf7b",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 61.429,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83435,
    "c": 0.10679,
    "h": 109.7
  },
  "luminance": 0.59035
}

Semantic roles & 50–950 ramp

primary
#CDCF7B
secondary
#52509E
accent
#2CBA2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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