#CFCB56#CFCB56

#CFCB56 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.138 H 107.3°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CFCB56
RGBrgb(207, 203, 86)
HSLhsl(58, 56%, 57%)
HSVhsv(58, 58%, 81%)
CMYKcmyk(0%, 1.9%, 58.5%, 18.8%)
CIE-LABlab(79.98, -13.43, 57.44)
CIE-LCHlch(79.98, 58.99, 103.16°)
OKLaboklab(82.28% -0.0411 0.1322)
OKLCHoklch(82.28% 0.138 107.3)
XYZxyz(48.7693, 56.6506, 17.1680)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB56 #565ACF
analogous
#CF8F56 #CFCB56 #96CF56
triadic
#CFCB56 #56CFCB #CB56CF
tetradic
#CFCB56 #56CF8F #565ACF #CF5696
square
#CFCB56 #56CF8F #565ACF #CF5696
split-complementary
#CFCB56 #5696CF #8F56CF
monochromatic
#858226 #B5B033 #CFCB56 #DDDA86 #EAE8B5

Accessibility & contrast

On white

1.70
#CFCB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CFCB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB56
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB56#FFFFFF#000000##000000
##CFCB561.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#DDC85D
Tritanopia (blue-blind)
#DDBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb56;
/* rgb */ color: rgb(207, 203, 86);
/* oklch */ color: oklch(82.3% 0.138 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0da8a',
    500: '#cfcb56',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb56;
$custom-light: #e0da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb56",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 58.017,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8228,
    "c": 0.13843,
    "h": 107.3
  },
  "luminance": 0.56649
}

Semantic roles & 50–950 ramp

primary
#CFCB56
secondary
#3D408C
accent
#4EDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCB56

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

Preview Lab → · Contrast checker → · Palette generator →

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