#CFCD4F#CFCD4F

#CFCD4F is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.6% C 0.146 H 108.3°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CFCD4F
RGBrgb(207, 205, 79)
HSLhsl(59, 57%, 56%)
HSVhsv(59, 62%, 81%)
CMYKcmyk(0%, 1%, 61.8%, 18.8%)
CIE-LABlab(80.46, -14.91, 60.96)
CIE-LCHlch(80.46, 62.75, 103.74°)
OKLaboklab(82.64% -0.046 0.1387)
OKLCHoklch(82.64% 0.146 108.3)
XYZxyz(48.9763, 57.4940, 15.9132)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD4F #4F51CF
analogous
#CF8D4F #CFCD4F #91CF4F
triadic
#CFCD4F #4FCFCD #CD4FCF
tetradic
#CFCD4F #4FCF8D #4F51CF #CF4F91
square
#CFCD4F #4FCF8D #4F51CF #CF4F91
split-complementary
#CFCD4F #4F91CF #8D4FCF
monochromatic
#817F23 #B1AF30 #CFCD4F #DCDB7F #E9E8AF

Accessibility & contrast

On white

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

On black

12.50
#CFCD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD4F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD4F#FFFFFF#000000##000000
##CFCD4F1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53F
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#DDC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd4f;
/* rgb */ color: rgb(207, 205, 79);
/* oklch */ color: oklch(82.6% 0.146 108.3);
Tailwind
colors: {
  custom: {
    50: '#e1dc86',
    500: '#cfcd4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd4f;
$custom-light: #e1dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd4f",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 59.063,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82638,
    "c": 0.14614,
    "h": 108.3
  },
  "luminance": 0.57493
}

Semantic roles & 50–950 ramp

primary
#CFCD4F
secondary
#3A3B88
accent
#4AE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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