#CFC57D#CFC57D

#CFC57D is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.093 H 101.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CFC57D
RGBrgb(207, 197, 125)
HSLhsl(53, 46%, 65%)
HSVhsv(53, 40%, 81%)
CMYKcmyk(0%, 4.8%, 39.6%, 18.8%)
CIE-LABlab(78.86, -6.86, 37.35)
CIE-LCHlch(78.86, 37.98, 100.40°)
OKLaboklab(81.54% -0.0184 0.0913)
OKLCHoklch(81.54% 0.093 101.4)
XYZxyz(49.4010, 54.6799, 27.3500)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC57D #7D87CF
analogous
#CF9C7D #CFC57D #B0CF7D
triadic
#CFC57D #7DCFC5 #C57DCF
tetradic
#CFC57D #7DCF9C #7D87CF #CF7DB0
square
#CFC57D #7DCF9C #7D87CF #CF7DB0
split-complementary
#CFC57D #7DB0CF #9C7DCF
monochromatic
#998D39 #BEB150 #CFC57D #E0D9AA #F0EDD6

Accessibility & contrast

On white

1.76
#CFC57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CFC57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC57D
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC57D#FFFFFF#000000##000000
##CFC57D1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C178
Deuteranopia (green-blind)
#D5C580
Tritanopia (blue-blind)
#DABCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc57d;
/* rgb */ color: rgb(207, 197, 125);
/* oklch */ color: oklch(81.5% 0.093 101.4);
Tailwind
colors: {
  custom: {
    50: '#dfd6a3',
    500: '#cfc57d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc57d;
$custom-light: #dfd6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc57d",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 125
  },
  "hsl": {
    "h": 52.683,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81535,
    "c": 0.09316,
    "h": 101.4
  },
  "luminance": 0.54679
}

Semantic roles & 50–950 ramp

primary
#CFC57D
secondary
#515B9F
accent
#3DB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC57D

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

Preview Lab → · Contrast checker → · Palette generator →

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