#CBCF72#CBCF72

#CBCF72 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.117 H 110.8°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CBCF72
RGBrgb(203, 207, 114)
HSLhsl(63, 49%, 63%)
HSVhsv(63, 45%, 81%)
CMYKcmyk(1.9%, 0%, 44.9%, 18.8%)
CIE-LABlab(81.04, -14.69, 45.52)
CIE-LCHlch(81.04, 47.83, 107.89°)
OKLaboklab(83.14% -0.0416 0.1091)
OKLCHoklch(83.14% 0.117 110.8)
XYZxyz(49.9795, 58.5380, 24.5824)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF72 #7672CF
analogous
#CFA572 #CBCF72 #9CCF72
triadic
#CBCF72 #72CBCF #CF72CB
tetradic
#CBCF72 #72CFA5 #7672CF #CF729C
square
#CBCF72 #72CFA5 #7672CF #CF729C
split-complementary
#CBCF72 #729CCF #A572CF
monochromatic
#909432 #BABF44 #CBCF72 #DCDFA0 #EDEECD

Accessibility & contrast

On white

1.65
#CBCF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CBCF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF72
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF72#FFFFFF#000000##000000
##CBCF721.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86A
Deuteranopia (green-blind)
#DCCB76
Tritanopia (blue-blind)
#D6C5B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbcf72;
/* rgb */ color: rgb(203, 207, 114);
/* oklch */ color: oklch(83.1% 0.117 110.8);
Tailwind
colors: {
  custom: {
    50: '#dcdd9c',
    500: '#cbcf72',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf72;
$custom-light: #dcdd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf72",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 62.581,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8314,
    "c": 0.11678,
    "h": 110.8
  },
  "luminance": 0.58537
}

Semantic roles & 50–950 ramp

primary
#CBCF72
secondary
#4F4B9A
accent
#29BD2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBCF72

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

Preview Lab → · Contrast checker → · Palette generator →

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