#CFC57A#CFC57A

#CFC57A is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.097 H 101.7°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CFC57A
RGBrgb(207, 197, 122)
HSLhsl(53, 47%, 65%)
HSVhsv(53, 41%, 81%)
CMYKcmyk(0%, 4.8%, 41.1%, 18.8%)
CIE-LABlab(78.81, -7.18, 38.83)
CIE-LCHlch(78.81, 39.49, 100.48°)
OKLaboklab(81.49% -0.0195 0.0945)
OKLCHoklch(81.49% 0.097 101.7)
XYZxyz(49.2122, 54.6044, 26.3559)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC57A #7A84CF
analogous
#CF9B7A #CFC57A #AFCF7A
triadic
#CFC57A #7ACFC5 #C57ACF
tetradic
#CFC57A #7ACF9B #7A84CF #CF7AAF
square
#CFC57A #7ACF9B #7A84CF #CF7AAF
split-complementary
#CFC57A #7AAFCF #9B7ACF
monochromatic
#988C37 #BFB14D #CFC57A #DFD9A7 #EFECD4

Accessibility & contrast

On white

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

On black

11.92
#CFC57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC57A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC57A#FFFFFF#000000##000000
##CFC57A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C074
Deuteranopia (green-blind)
#D5C57D
Tritanopia (blue-blind)
#DBBBB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc57a;
/* rgb */ color: rgb(207, 197, 122);
/* oklch */ color: oklch(81.5% 0.097 101.7);
Tailwind
colors: {
  custom: {
    50: '#dfd6a1',
    500: '#cfc57a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc57a;
$custom-light: #dfd6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc57a",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 122
  },
  "hsl": {
    "h": 52.941,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81486,
    "c": 0.09654,
    "h": 101.7
  },
  "luminance": 0.54603
}

Semantic roles & 50–950 ramp

primary
#CFC57A
secondary
#50599E
accent
#3CBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC57A

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

Preview Lab → · Contrast checker → · Palette generator →

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