#CDCF7A#CDCF7A

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

Color values

HEX#CDCF7A
RGBrgb(205, 207, 122)
HSLhsl(61, 47%, 65%)
HSVhsv(61, 41%, 81%)
CMYKcmyk(1%, 0%, 41.1%, 18.8%)
CIE-LABlab(81.30, -13.08, 41.93)
CIE-LCHlch(81.30, 43.92, 107.32°)
OKLaboklab(83.42% -0.0364 0.1016)
OKLCHoklch(83.42% 0.108 109.7)
XYZxyz(51.0032, 59.0109, 27.1120)
Luminance0.5901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF7A #7C7ACF
analogous
#CFA77A #CDCF7A #A3CF7A
triadic
#CDCF7A #7ACDCF #CF7ACD
tetradic
#CDCF7A #7ACFA7 #7C7ACF #CF7AA3
square
#CDCF7A #7ACFA7 #7C7ACF #CF7AA3
split-complementary
#CDCF7A #7AA3CF #A77ACF
monochromatic
#969837 #BCBF4D #CDCF7A #DEDFA7 #EFEFD4

Accessibility & contrast

On white

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

On black

12.80
#CDCF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF7A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF7A#FFFFFF#000000##000000
##CDCF7A1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC873
Deuteranopia (green-blind)
#DCCB7E
Tritanopia (blue-blind)
#D8C6BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf7a;
/* rgb */ color: rgb(205, 207, 122);
/* oklch */ color: oklch(83.4% 0.108 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddda2',
    500: '#cdcf7a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf7a;
$custom-light: #dddda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf7a",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 61.412,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8342,
    "c": 0.10789,
    "h": 109.7
  },
  "luminance": 0.5901
}

Semantic roles & 50–950 ramp

primary
#CDCF7A
secondary
#51509E
accent
#2BBA2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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