#CDCF70#CDCF70

#CDCF70 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.119 H 109.8°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CDCF70
RGBrgb(205, 207, 112)
HSLhsl(61, 50%, 63%)
HSVhsv(61, 46%, 81%)
CMYKcmyk(1%, 0%, 45.9%, 18.8%)
CIE-LABlab(81.17, -14.09, 46.69)
CIE-LCHlch(81.17, 48.77, 106.79°)
OKLaboklab(83.28% -0.0401 0.1116)
OKLCHoklch(83.28% 0.119 109.8)
XYZxyz(50.4152, 58.7757, 24.0152)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF70 #7270CF
analogous
#CFA170 #CDCF70 #9ECF70
triadic
#CDCF70 #70CDCF #CF70CD
tetradic
#CDCF70 #70CFA1 #7270CF #CF709E
square
#CDCF70 #70CFA1 #7270CF #CF709E
split-complementary
#CDCF70 #709ECF #A170CF
monochromatic
#919331 #BDC042 #CDCF70 #DDDE9E #EDEECC

Accessibility & contrast

On white

1.65
#CDCF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CDCF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF70
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF70#FFFFFF#000000##000000
##CDCF701.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC868
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#D8C5B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf70;
/* rgb */ color: rgb(205, 207, 112);
/* oklch */ color: oklch(83.3% 0.119 109.8);
Tailwind
colors: {
  custom: {
    50: '#dedd9b',
    500: '#cdcf70',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf70;
$custom-light: #dedd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf70",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 112
  },
  "hsl": {
    "h": 61.263,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83275,
    "c": 0.11855,
    "h": 109.8
  },
  "luminance": 0.58775
}

Semantic roles & 50–950 ramp

primary
#CDCF70
secondary
#4C4A99
accent
#28BD2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCF70

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

Preview Lab → · Contrast checker → · Palette generator →

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