#CFCB57#CFCB57

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

Color values

HEX#CFCB57
RGBrgb(207, 203, 87)
HSLhsl(58, 56%, 58%)
HSVhsv(58, 58%, 81%)
CMYKcmyk(0%, 1.9%, 58%, 18.8%)
CIE-LABlab(79.99, -13.36, 57.01)
CIE-LCHlch(79.99, 58.55, 103.19°)
OKLaboklab(82.29% -0.0407 0.1314)
OKLCHoklch(82.29% 0.138 107.2)
XYZxyz(48.8099, 56.6668, 17.3816)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB57 #575BCF
analogous
#CF8F57 #CFCB57 #97CF57
triadic
#CFCB57 #57CFCB #CB57CF
tetradic
#CFCB57 #57CF8F #575BCF #CF5797
square
#CFCB57 #57CF8F #575BCF #CF5797
split-complementary
#CFCB57 #5797CF #8F57CF
monochromatic
#858226 #B5B134 #CFCB57 #DDDA87 #EAE8B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCB57#FFFFFF#000000##000000
##CFCB571.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)
#DAC44A
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#DDBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb57;
/* rgb */ color: rgb(207, 203, 87);
/* oklch */ color: oklch(82.3% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e0da8b',
    500: '#cfcb57',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb57;
$custom-light: #e0da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb57",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 58,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8229,
    "c": 0.13758,
    "h": 107.2
  },
  "luminance": 0.56665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCB57

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

Preview Lab → · Contrast checker → · Palette generator →

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