#CFC867#CFC867

#CFC867 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.120 H 105.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CFC867
RGBrgb(207, 200, 103)
HSLhsl(56, 52%, 61%)
HSVhsv(56, 50%, 81%)
CMYKcmyk(0%, 3.4%, 50.2%, 18.8%)
CIE-LABlab(79.36, -10.56, 48.90)
CIE-LCHlch(79.36, 50.02, 102.19°)
OKLaboklab(81.84% -0.031 0.1156)
OKLCHoklch(81.84% 0.12 105)
XYZxyz(48.8359, 55.5547, 20.9799)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC867 #676ECF
analogous
#CF9467 #CFC867 #A2CF67
triadic
#CFC867 #67CFC8 #C867CF
tetradic
#CFC867 #67CF94 #676ECF #CF67A2
square
#CFC867 #67CF94 #676ECF #CF67A2
split-complementary
#CFC867 #67A2CF #9467CF
monochromatic
#8F882D #BDB43C #CFC867 #DED996 #ECEAC4

Accessibility & contrast

On white

1.73
#CFC867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CFC867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC867
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC867#FFFFFF#000000##000000
##CFC8671.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25E
Deuteranopia (green-blind)
#D9C76C
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc867;
/* rgb */ color: rgb(207, 200, 103);
/* oklch */ color: oklch(81.8% 0.120 105.0);
Tailwind
colors: {
  custom: {
    50: '#e0d895',
    500: '#cfc867',
    950: '#000000',
  },
}
SCSS
$custom: #cfc867;
$custom-light: #e0d895;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc867",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 55.962,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8184,
    "c": 0.11973,
    "h": 105
  },
  "luminance": 0.55553
}

Semantic roles & 50–950 ramp

primary
#CFC867
secondary
#454B95
accent
#30BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC867

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

Preview Lab → · Contrast checker → · Palette generator →

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