#CFCA7F#CFCA7F

#CFCA7F is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.096 H 105.0°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CFCA7F
RGBrgb(207, 202, 127)
HSLhsl(56, 45%, 65%)
HSVhsv(56, 39%, 81%)
CMYKcmyk(0%, 2.4%, 38.6%, 18.8%)
CIE-LABlab(80.20, -9.20, 38.06)
CIE-LCHlch(80.20, 39.16, 103.60°)
OKLaboklab(82.61% -0.025 0.093)
OKLCHoklch(82.61% 0.096 105)
XYZxyz(50.6842, 57.0400, 28.4144)
Luminance0.5704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA7F #7F84CF
analogous
#CFA27F #CFCA7F #ACCF7F
triadic
#CFCA7F #7FCFCA #CA7FCF
tetradic
#CFCA7F #7FCFA2 #7F84CF #CF7FAC
square
#CFCA7F #7FCFA2 #7F84CF #CF7FAC
split-complementary
#CFCA7F #7FACCF #A27FCF
monochromatic
#9A943A #BEB852 #CFCA7F #E0DCAC #F0EFD8

Accessibility & contrast

On white

1.69
#CFCA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#CFCA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA7F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA7F#FFFFFF#000000##000000
##CFCA7F1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C579
Deuteranopia (green-blind)
#D8C982
Tritanopia (blue-blind)
#DAC1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca7f;
/* rgb */ color: rgb(207, 202, 127);
/* oklch */ color: oklch(82.6% 0.096 105.0);
Tailwind
colors: {
  custom: {
    50: '#dfdaa5',
    500: '#cfca7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfca7f;
$custom-light: #dfdaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca7f",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 127
  },
  "hsl": {
    "h": 56.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82611,
    "c": 0.09632,
    "h": 105
  },
  "luminance": 0.57039
}

Semantic roles & 50–950 ramp

primary
#CFCA7F
secondary
#5357A0
accent
#36B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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