#CFC26E#CFC26E

#CFC26E is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.106 H 100.6°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CFC26E
RGBrgb(207, 194, 110)
HSLhsl(52, 50%, 62%)
HSVhsv(52, 47%, 81%)
CMYKcmyk(0%, 6.3%, 46.9%, 18.8%)
CIE-LABlab(77.86, -6.85, 43.67)
CIE-LCHlch(77.86, 44.20, 98.91°)
OKLaboklab(80.68% -0.0196 0.1047)
OKLCHoklch(80.68% 0.107 100.6)
XYZxyz(47.8396, 52.9763, 22.4543)
Luminance0.5298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC26E #6E7BCF
analogous
#CF926E #CFC26E #ABCF6E
triadic
#CFC26E #6ECFC2 #C26ECF
tetradic
#CFC26E #6ECF92 #6E7BCF #CF6EAB
square
#CFC26E #6ECF92 #6E7BCF #CF6EAB
split-complementary
#CFC26E #6EABCF #926ECF
monochromatic
#928530 #C0AF40 #CFC26E #DED59C #EDE9CA

Accessibility & contrast

On white

1.81
#CFC26E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CFC26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC26E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC26E#FFFFFF#000000##000000
##CFC26E1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD67
Deuteranopia (green-blind)
#D4C372
Tritanopia (blue-blind)
#DCB7AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc26e;
/* rgb */ color: rgb(207, 194, 110);
/* oklch */ color: oklch(80.7% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#dfd499',
    500: '#cfc26e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc26e;
$custom-light: #dfd499;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc26e",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 110
  },
  "hsl": {
    "h": 51.959,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80679,
    "c": 0.1065,
    "h": 100.6
  },
  "luminance": 0.52975
}

Semantic roles & 50–950 ramp

primary
#CFC26E
secondary
#495498
accent
#3CBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC26E

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

Preview Lab → · Contrast checker → · Palette generator →

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