#CFC268#CFC268

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

Color values

HEX#CFC268
RGBrgb(207, 194, 104)
HSLhsl(52, 52%, 61%)
HSVhsv(52, 50%, 81%)
CMYKcmyk(0%, 6.3%, 49.8%, 18.8%)
CIE-LABlab(77.79, -7.40, 46.53)
CIE-LCHlch(77.79, 47.12, 99.04°)
OKLaboklab(80.6% -0.0219 0.1105)
OKLCHoklch(80.6% 0.113 101.2)
XYZxyz(47.5240, 52.8501, 20.7917)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC268 #6875CF
analogous
#CF8E68 #CFC268 #A8CF68
triadic
#CFC268 #68CFC2 #C268CF
tetradic
#CFC268 #68CF8E #6875CF #CF68A8
square
#CFC268 #68CF8E #6875CF #CF68A8
split-complementary
#CFC268 #68A8CF #8E68CF
monochromatic
#8F832D #BEAD3C #CFC268 #DED596 #EDE8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC268#FFFFFF#000000##000000
##CFC2681.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)
#D1BD60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#DCB7AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc268;
/* rgb */ color: rgb(207, 194, 104);
/* oklch */ color: oklch(80.6% 0.113 101.2);
Tailwind
colors: {
  custom: {
    50: '#e0d495',
    500: '#cfc268',
    950: '#000000',
  },
}
SCSS
$custom: #cfc268;
$custom-light: #e0d495;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc268",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 104
  },
  "hsl": {
    "h": 52.427,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80595,
    "c": 0.11267,
    "h": 101.2
  },
  "luminance": 0.52848
}

Semantic roles & 50–950 ramp

primary
#CFC268
secondary
#465095
accent
#3ABF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC268

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

Preview Lab → · Contrast checker → · Palette generator →

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