#CFCA67#CFCA67

#CFCA67 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.122 H 106.2°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CFCA67
RGBrgb(207, 202, 103)
HSLhsl(57, 52%, 61%)
HSVhsv(57, 50%, 81%)
CMYKcmyk(0%, 2.4%, 50.2%, 18.8%)
CIE-LABlab(79.89, -11.58, 49.53)
CIE-LCHlch(79.89, 50.86, 103.16°)
OKLaboklab(82.26% -0.034 0.117)
OKLCHoklch(82.26% 0.122 106.2)
XYZxyz(49.3021, 56.4871, 21.1354)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA67 #676CCF
analogous
#CF9667 #CFCA67 #A0CF67
triadic
#CFCA67 #67CFCA #CA67CF
tetradic
#CFCA67 #67CF96 #676CCF #CF67A0
square
#CFCA67 #67CF96 #676CCF #CF67A0
split-complementary
#CFCA67 #67A0CF #9667CF
monochromatic
#8F8A2D #BDB73C #CFCA67 #DEDA96 #ECEAC4

Accessibility & contrast

On white

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

On black

12.30
#CFCA67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA67
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA67#FFFFFF#000000##000000
##CFCA671.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C45E
Deuteranopia (green-blind)
#DBC86C
Tritanopia (blue-blind)
#DCBFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca67;
/* rgb */ color: rgb(207, 202, 103);
/* oklch */ color: oklch(82.3% 0.122 106.2);
Tailwind
colors: {
  custom: {
    50: '#e0d995',
    500: '#cfca67',
    950: '#000000',
  },
}
SCSS
$custom: #cfca67;
$custom-light: #e0d995;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca67",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 103
  },
  "hsl": {
    "h": 57.115,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82262,
    "c": 0.12184,
    "h": 106.2
  },
  "luminance": 0.56486
}

Semantic roles & 50–950 ramp

primary
#CFCA67
secondary
#454995
accent
#2DBF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFCA67

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

Preview Lab → · Contrast checker → · Palette generator →

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