#CCBE4F#CCBE4F

#CCBE4F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.2% C 0.132 H 102.1°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#CCBE4F
RGBrgb(204, 190, 79)
HSLhsl(53, 55%, 55%)
HSVhsv(53, 61%, 80%)
CMYKcmyk(0%, 6.9%, 61.3%, 20%)
CIE-LABlab(76.21, -8.55, 56.30)
CIE-LCHlch(76.21, 56.95, 98.63°)
OKLaboklab(79.2% -0.0277 0.1289)
OKLCHoklch(79.2% 0.132 102.1)
XYZxyz(44.7283, 50.2305, 14.7350)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE4F #4F5DCC
analogous
#CC7F4F #CCBE4F #9BCC4F
triadic
#CCBE4F #4FCCBE #BE4FCC
tetradic
#CCBE4F #4FCC7F #4F5DCC #CC4F9B
square
#CCBE4F #4FCC7F #4F5DCC #CC4F9B
split-complementary
#CCBE4F #4F9BCC #7F4FCC
monochromatic
#7D7324 #AC9E32 #CCBE4F #DAD07E #E7E1AE

Accessibility & contrast

On white

1.90
#CCBE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#CCBE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE4F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE4F#FFFFFF#000000##000000
##CCBE4F1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB842
Deuteranopia (green-blind)
#D2BF55
Tritanopia (blue-blind)
#DAB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbe4f;
/* rgb */ color: rgb(204, 190, 79);
/* oklch */ color: oklch(79.2% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#ded185',
    500: '#ccbe4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe4f;
$custom-light: #ded185;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe4f",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 53.28,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79199,
    "c": 0.13187,
    "h": 102.1
  },
  "luminance": 0.50229
}

Semantic roles & 50–950 ramp

primary
#CCBE4F
secondary
#3B4384
accent
#5ADE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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