#CFC167#CFC167

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

Color values

HEX#CFC167
RGBrgb(207, 193, 103)
HSLhsl(52, 52%, 61%)
HSVhsv(52, 50%, 81%)
CMYKcmyk(0%, 6.8%, 50.2%, 18.8%)
CIE-LABlab(77.51, -6.97, 46.69)
CIE-LCHlch(77.51, 47.20, 98.50°)
OKLaboklab(80.37% -0.0207 0.1108)
OKLCHoklch(80.37% 0.113 100.6)
XYZxyz(47.2517, 52.3863, 20.4519)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC167 #6775CF
analogous
#CF8D67 #CFC167 #A9CF67
triadic
#CFC167 #67CFC1 #C167CF
tetradic
#CFC167 #67CF8D #6775CF #CF67A9
square
#CFC167 #67CF8D #6775CF #CF67A9
split-complementary
#CFC167 #67A9CF #8D67CF
monochromatic
#8F812D #BDAC3C #CFC167 #DED496 #ECE7C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC167#FFFFFF#000000##000000
##CFC1671.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)
#D0BC5F
Deuteranopia (green-blind)
#D4C26B
Tritanopia (blue-blind)
#DCB6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc167;
/* rgb */ color: rgb(207, 193, 103);
/* oklch */ color: oklch(80.4% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#e0d394',
    500: '#cfc167',
    950: '#000000',
  },
}
SCSS
$custom: #cfc167;
$custom-light: #e0d394;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc167",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 103
  },
  "hsl": {
    "h": 51.923,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80373,
    "c": 0.11271,
    "h": 100.6
  },
  "luminance": 0.52385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC167

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

Preview Lab → · Contrast checker → · Palette generator →

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