#CFC57E#CFC57E

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

Color values

HEX#CFC57E
RGBrgb(207, 197, 126)
HSLhsl(53, 46%, 65%)
HSVhsv(53, 39%, 81%)
CMYKcmyk(0%, 4.8%, 39.1%, 18.8%)
CIE-LABlab(78.87, -6.75, 36.86)
CIE-LCHlch(78.87, 37.47, 100.37°)
OKLaboklab(81.55% -0.018 0.0903)
OKLCHoklch(81.55% 0.092 101.3)
XYZxyz(49.4652, 54.7056, 27.6882)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC57E #7E88CF
analogous
#CF9D7E #CFC57E #B0CF7E
triadic
#CFC57E #7ECFC5 #C57ECF
tetradic
#CFC57E #7ECF9D #7E88CF #CF7EB0
square
#CFC57E #7ECF9D #7E88CF #CF7EB0
split-complementary
#CFC57E #7EB0CF #9D7ECF
monochromatic
#998E39 #BEB151 #CFC57E #E0D9AB #F0EDD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC57E#FFFFFF#000000##000000
##CFC57E1.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)
#D1C179
Deuteranopia (green-blind)
#D5C581
Tritanopia (blue-blind)
#DABCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc57e;
/* rgb */ color: rgb(207, 197, 126);
/* oklch */ color: oklch(81.6% 0.092 101.3);
Tailwind
colors: {
  custom: {
    50: '#dfd6a4',
    500: '#cfc57e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc57e;
$custom-light: #dfd6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc57e",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 126
  },
  "hsl": {
    "h": 52.593,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81551,
    "c": 0.09202,
    "h": 101.3
  },
  "luminance": 0.54704
}

Semantic roles & 50–950 ramp

primary
#CFC57E
secondary
#525C9F
accent
#3EB92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC57E

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

Preview Lab → · Contrast checker → · Palette generator →

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