#CFCB5B#CFCB5B

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

Color values

HEX#CFCB5B
RGBrgb(207, 203, 91)
HSLhsl(58, 55%, 58%)
HSVhsv(58, 56%, 81%)
CMYKcmyk(0%, 1.9%, 56%, 18.8%)
CIE-LABlab(80.03, -13.06, 55.26)
CIE-LCHlch(80.03, 56.79, 103.30°)
OKLaboklab(82.33% -0.0395 0.1282)
OKLCHoklch(82.33% 0.134 107.1)
XYZxyz(48.9778, 56.7340, 18.2663)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB5B #5B5FCF
analogous
#CF915B #CFCB5B #99CF5B
triadic
#CFCB5B #5BCFCB #CB5BCF
tetradic
#CFCB5B #5BCF91 #5B5FCF #CF5B99
square
#CFCB5B #5BCF91 #5B5FCF #CF5B99
split-complementary
#CFCB5B #5B99CF #915BCF
monochromatic
#888528 #B7B336 #CFCB5B #DDDA8A #EBE9BA

Accessibility & contrast

On white

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

On black

12.35
#CFCB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB5B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB5B#FFFFFF#000000##000000
##CFCB5B1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44F
Deuteranopia (green-blind)
#DCC961
Tritanopia (blue-blind)
#DCBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb5b;
/* rgb */ color: rgb(207, 203, 91);
/* oklch */ color: oklch(82.3% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#e0da8d',
    500: '#cfcb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb5b;
$custom-light: #e0da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb5b",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 57.931,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82332,
    "c": 0.1341,
    "h": 107.1
  },
  "luminance": 0.56733
}

Semantic roles & 50–950 ramp

primary
#CFCB5B
secondary
#40428F
accent
#4FDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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