#CFC26F#CFC26F

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

Color values

HEX#CFC26F
RGBrgb(207, 194, 111)
HSLhsl(52, 50%, 62%)
HSVhsv(52, 46%, 81%)
CMYKcmyk(0%, 6.3%, 46.4%, 18.8%)
CIE-LABlab(77.87, -6.75, 43.19)
CIE-LCHlch(77.87, 43.71, 98.88°)
OKLaboklab(80.69% -0.0193 0.1037)
OKLCHoklch(80.69% 0.105 100.5)
XYZxyz(47.8944, 52.9982, 22.7426)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC26F #6F7CCF
analogous
#CF926F #CFC26F #ACCF6F
triadic
#CFC26F #6FCFC2 #C26FCF
tetradic
#CFC26F #6FCF92 #6F7CCF #CF6FAC
square
#CFC26F #6FCF92 #6F7CCF #CF6FAC
split-complementary
#CFC26F #6FACCF #926FCF
monochromatic
#938531 #C0AF41 #CFC26F #DED59D #EEE9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC26F#FFFFFF#000000##000000
##CFC26F1.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)
#D0BD68
Deuteranopia (green-blind)
#D4C372
Tritanopia (blue-blind)
#DCB8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc26f;
/* rgb */ color: rgb(207, 194, 111);
/* oklch */ color: oklch(80.7% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#dfd49a',
    500: '#cfc26f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc26f;
$custom-light: #dfd49a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc26f",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 111
  },
  "hsl": {
    "h": 51.875,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80693,
    "c": 0.10545,
    "h": 100.5
  },
  "luminance": 0.52997
}

Semantic roles & 50–950 ramp

primary
#CFC26F
secondary
#4A5499
accent
#3CBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC26F

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

Preview Lab → · Contrast checker → · Palette generator →

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