#CFCA7A#CFCA7A

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

Color values

HEX#CFCA7A
RGBrgb(207, 202, 122)
HSLhsl(56, 47%, 65%)
HSVhsv(56, 41%, 81%)
CMYKcmyk(0%, 2.4%, 41.1%, 18.8%)
CIE-LABlab(80.13, -9.74, 40.50)
CIE-LCHlch(80.13, 41.65, 103.53°)
OKLaboklab(82.53% -0.0269 0.0983)
OKLCHoklch(82.53% 0.102 105.3)
XYZxyz(50.3664, 56.9128, 26.7407)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA7A #7A7FCF
analogous
#CFA07A #CFCA7A #A9CF7A
triadic
#CFCA7A #7ACFCA #CA7ACF
tetradic
#CFCA7A #7ACFA0 #7A7FCF #CF7AA9
square
#CFCA7A #7ACFA0 #7A7FCF #CF7AA9
split-complementary
#CFCA7A #7AA9CF #A07ACF
monochromatic
#989237 #BFB84D #CFCA7A #DFDCA7 #EFEED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA7A#FFFFFF#000000##000000
##CFCA7A1.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)
#D7C474
Deuteranopia (green-blind)
#D9C97D
Tritanopia (blue-blind)
#DAC0B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca7a;
/* rgb */ color: rgb(207, 202, 122);
/* oklch */ color: oklch(82.5% 0.102 105.3);
Tailwind
colors: {
  custom: {
    50: '#dfdaa1',
    500: '#cfca7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfca7a;
$custom-light: #dfdaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca7a",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 56.471,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82531,
    "c": 0.10194,
    "h": 105.3
  },
  "luminance": 0.56912
}

Semantic roles & 50–950 ramp

primary
#CFCA7A
secondary
#50549E
accent
#34BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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