#CFC97A#CFC97A

#CFC97A is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.101 H 104.6°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CFC97A
RGBrgb(207, 201, 122)
HSLhsl(56, 47%, 65%)
HSVhsv(56, 41%, 81%)
CMYKcmyk(0%, 2.9%, 41.1%, 18.8%)
CIE-LABlab(79.87, -9.23, 40.16)
CIE-LCHlch(79.87, 41.21, 102.95°)
OKLaboklab(82.32% -0.0254 0.0976)
OKLCHoklch(82.32% 0.101 104.6)
XYZxyz(50.1325, 56.4451, 26.6627)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC97A #7A80CF
analogous
#CF9F7A #CFC97A #ABCF7A
triadic
#CFC97A #7ACFC9 #C97ACF
tetradic
#CFC97A #7ACF9F #7A80CF #CF7AAB
square
#CFC97A #7ACF9F #7A80CF #CF7AAB
split-complementary
#CFC97A #7AABCF #9F7ACF
monochromatic
#989137 #BFB74D #CFC97A #DFDBA7 #EFEED4

Accessibility & contrast

On white

1.71
#CFC97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CFC97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC97A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC97A#FFFFFF#000000##000000
##CFC97A1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C474
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#DABFB6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfc97a;
/* rgb */ color: rgb(207, 201, 122);
/* oklch */ color: oklch(82.3% 0.101 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd9a1',
    500: '#cfc97a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc97a;
$custom-light: #dfd9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc97a",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 55.765,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82321,
    "c": 0.10082,
    "h": 104.6
  },
  "luminance": 0.56444
}

Semantic roles & 50–950 ramp

primary
#CFC97A
secondary
#50559E
accent
#35BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC97A

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

Preview Lab → · Contrast checker → · Palette generator →

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