#CFC168#CFC168

#CFC168 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.112 H 100.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CFC168
RGBrgb(207, 193, 104)
HSLhsl(52, 52%, 61%)
HSVhsv(52, 50%, 81%)
CMYKcmyk(0%, 6.8%, 49.8%, 18.8%)
CIE-LABlab(77.52, -6.88, 46.21)
CIE-LCHlch(77.52, 46.72, 98.47°)
OKLaboklab(80.39% -0.0204 0.1098)
OKLCHoklch(80.39% 0.112 100.5)
XYZxyz(47.3022, 52.4065, 20.7178)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC168 #6876CF
analogous
#CF8D68 #CFC168 #A9CF68
triadic
#CFC168 #68CFC1 #C168CF
tetradic
#CFC168 #68CF8D #6876CF #CF68A9
square
#CFC168 #68CF8D #6876CF #CF68A9
split-complementary
#CFC168 #68A9CF #8D68CF
monochromatic
#8F822D #BEAC3C #CFC168 #DED496 #EDE7C5

Accessibility & contrast

On white

1.83
#CFC168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CFC168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC168
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC168#FFFFFF#000000##000000
##CFC1681.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC60
Deuteranopia (green-blind)
#D4C26C
Tritanopia (blue-blind)
#DCB6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc168;
/* rgb */ color: rgb(207, 193, 104);
/* oklch */ color: oklch(80.4% 0.112 100.5);
Tailwind
colors: {
  custom: {
    50: '#e0d395',
    500: '#cfc168',
    950: '#000000',
  },
}
SCSS
$custom: #cfc168;
$custom-light: #e0d395;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc168",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 104
  },
  "hsl": {
    "h": 51.845,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80387,
    "c": 0.11171,
    "h": 100.5
  },
  "luminance": 0.52405
}

Semantic roles & 50–950 ramp

primary
#CFC168
secondary
#465195
accent
#3BBF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC168

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

Preview Lab → · Contrast checker → · Palette generator →

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