#CFCA79#CFCA79

#CFCA79 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.103 H 105.4°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CFCA79
RGBrgb(207, 202, 121)
HSLhsl(57, 47%, 64%)
HSVhsv(57, 42%, 81%)
CMYKcmyk(0%, 2.4%, 41.5%, 18.8%)
CIE-LABlab(80.12, -9.85, 40.98)
CIE-LCHlch(80.12, 42.15, 103.52°)
OKLaboklab(82.52% -0.0273 0.0994)
OKLCHoklch(82.52% 0.103 105.4)
XYZxyz(50.3048, 56.8882, 26.4160)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA79 #797ECF
analogous
#CF9F79 #CFCA79 #A9CF79
triadic
#CFCA79 #79CFCA #CA79CF
tetradic
#CFCA79 #79CF9F #797ECF #CF79A9
square
#CFCA79 #79CF9F #797ECF #CF79A9
split-complementary
#CFCA79 #79A9CF #9F79CF
monochromatic
#979236 #BFB84C #CFCA79 #DFDCA6 #EFEED3

Accessibility & contrast

On white

1.70
#CFCA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CFCA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA79
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA79#FFFFFF#000000##000000
##CFCA791.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C473
Deuteranopia (green-blind)
#D9C97C
Tritanopia (blue-blind)
#DAC0B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca79;
/* rgb */ color: rgb(207, 202, 121);
/* oklch */ color: oklch(82.5% 0.103 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfdaa1',
    500: '#cfca79',
    950: '#000000',
  },
}
SCSS
$custom: #cfca79;
$custom-light: #dfdaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca79",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 121
  },
  "hsl": {
    "h": 56.512,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82516,
    "c": 0.10304,
    "h": 105.4
  },
  "luminance": 0.56887
}

Semantic roles & 50–950 ramp

primary
#CFCA79
secondary
#4F549D
accent
#33BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCA79

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

Preview Lab → · Contrast checker → · Palette generator →

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