#CCBF62#CCBF62

#CCBF62 is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.116 H 101.4°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CCBF62
RGBrgb(204, 191, 98)
HSLhsl(53, 51%, 59%)
HSVhsv(53, 52%, 80%)
CMYKcmyk(0%, 6.4%, 52%, 20%)
CIE-LABlab(76.67, -7.61, 48.04)
CIE-LCHlch(76.67, 48.64, 99.01°)
OKLaboklab(79.62% -0.0229 0.1134)
OKLCHoklch(79.62% 0.116 101.4)
XYZxyz(45.7386, 50.9824, 18.9842)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF62 #626FCC
analogous
#CC8A62 #CCBF62 #A4CC62
triadic
#CCBF62 #62CCBF #BF62CC
tetradic
#CCBF62 #62CC8A #626FCC #CC62A4
square
#CCBF62 #62CC8A #626FCC #CC62A4
split-complementary
#CCBF62 #62A4CC #8A62CC
monochromatic
#887C2C #B6A73B #CCBF62 #DBD290 #EAE5BE

Accessibility & contrast

On white

1.88
#CCBF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CCBF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF62
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF62#FFFFFF#000000##000000
##CCBF621.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA5A
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#D9B4AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf62;
/* rgb */ color: rgb(204, 191, 98);
/* oklch */ color: oklch(79.6% 0.116 101.4);
Tailwind
colors: {
  custom: {
    50: '#ded291',
    500: '#ccbf62',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf62;
$custom-light: #ded291;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf62",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 52.642,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79624,
    "c": 0.11565,
    "h": 101.4
  },
  "luminance": 0.50981
}

Semantic roles & 50–950 ramp

primary
#CCBF62
secondary
#444D8F
accent
#5FDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCBF62

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

Preview Lab → · Contrast checker → · Palette generator →

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