#CFCD4A#CFCD4A

#CFCD4A is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.150 H 108.4°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CFCD4A
RGBrgb(207, 205, 74)
HSLhsl(59, 58%, 55%)
HSVhsv(59, 64%, 81%)
CMYKcmyk(0%, 1%, 64.3%, 18.8%)
CIE-LABlab(80.42, -15.22, 62.97)
CIE-LCHlch(80.42, 64.78, 103.59°)
OKLaboklab(82.59% -0.0474 0.1422)
OKLCHoklch(82.59% 0.15 108.4)
XYZxyz(48.8011, 57.4239, 14.9905)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD4A #4A4CCF
analogous
#CF8B4A #CFCD4A #8ECF4A
triadic
#CFCD4A #4ACFCD #CD4ACF
tetradic
#CFCD4A #4ACF8B #4A4CCF #CF4A8E
square
#CFCD4A #4ACF8B #4A4CCF #CF4A8E
split-complementary
#CFCD4A #4A8ECF #8B4ACF
monochromatic
#7D7C21 #AEAC2E #CFCD4A #DCDA7A #E9E8AB

Accessibility & contrast

On white

1.68
#CFCD4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CFCD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD4A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD4A#FFFFFF#000000##000000
##CFCD4A1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC539
Deuteranopia (green-blind)
#DFCA52
Tritanopia (blue-blind)
#DDC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd4a;
/* rgb */ color: rgb(207, 205, 74);
/* oklch */ color: oklch(82.6% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#e1dc83',
    500: '#cfcd4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd4a;
$custom-light: #e1dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd4a",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 59.098,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82594,
    "c": 0.14991,
    "h": 108.4
  },
  "luminance": 0.57422
}

Semantic roles & 50–950 ramp

primary
#CFCD4A
secondary
#383985
accent
#49E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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