#CFC267#CFC267

#CFC267 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.114 H 101.3°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CFC267
RGBrgb(207, 194, 103)
HSLhsl(53, 52%, 61%)
HSVhsv(53, 50%, 81%)
CMYKcmyk(0%, 6.3%, 50.2%, 18.8%)
CIE-LABlab(77.77, -7.49, 47.00)
CIE-LCHlch(77.77, 47.60, 99.05°)
OKLaboklab(80.58% -0.0222 0.1115)
OKLCHoklch(80.58% 0.114 101.3)
XYZxyz(47.4735, 52.8299, 20.5258)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC267 #6774CF
analogous
#CF8E67 #CFC267 #A8CF67
triadic
#CFC267 #67CFC2 #C267CF
tetradic
#CFC267 #67CF8E #6774CF #CF67A8
square
#CFC267 #67CF8E #6774CF #CF67A8
split-complementary
#CFC267 #67A8CF #8E67CF
monochromatic
#8F822D #BDAD3C #CFC267 #DED596 #ECE7C4

Accessibility & contrast

On white

1.82
#CFC267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CFC267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC267
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC267#FFFFFF#000000##000000
##CFC2671.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5F
Deuteranopia (green-blind)
#D5C36B
Tritanopia (blue-blind)
#DCB7AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc267;
/* rgb */ color: rgb(207, 194, 103);
/* oklch */ color: oklch(80.6% 0.114 101.3);
Tailwind
colors: {
  custom: {
    50: '#e0d494',
    500: '#cfc267',
    950: '#000000',
  },
}
SCSS
$custom: #cfc267;
$custom-light: #e0d494;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc267",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 103
  },
  "hsl": {
    "h": 52.5,
    "s": 52,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80582,
    "c": 0.11367,
    "h": 101.3
  },
  "luminance": 0.52828
}

Semantic roles & 50–950 ramp

primary
#CFC267
secondary
#454F95
accent
#39BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC267

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

Preview Lab → · Contrast checker → · Palette generator →

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