#CCBE47#CCBE47

#CCBE47 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.138 H 102.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CCBE47
RGBrgb(204, 190, 71)
HSLhsl(54, 57%, 54%)
HSVhsv(54, 65%, 80%)
CMYKcmyk(0%, 6.9%, 65.2%, 20%)
CIE-LABlab(76.14, -9.05, 59.65)
CIE-LCHlch(76.14, 60.34, 98.63°)
OKLaboklab(79.12% -0.0301 0.1348)
OKLCHoklch(79.12% 0.138 102.6)
XYZxyz(44.4544, 50.1210, 13.2927)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE47 #4755CC
analogous
#CC7C47 #CCBE47 #98CC47
triadic
#CCBE47 #47CCBE #BE47CC
tetradic
#CCBE47 #47CC7C #4755CC #CC4798
square
#CCBE47 #47CC7C #4755CC #CC4798
split-complementary
#CCBE47 #4798CC #7C47CC
monochromatic
#776E21 #A79B2E #CCBE47 #D9CF77 #E7E0A7

Accessibility & contrast

On white

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

On black

11.02
#CCBE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE47
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE47#FFFFFF#000000##000000
##CCBE471.001.9011.0211.02
#FFFFFF1.901.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB838
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#DBB1A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbe47;
/* rgb */ color: rgb(204, 190, 71);
/* oklch */ color: oklch(79.1% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd180',
    500: '#ccbe47',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe47;
$custom-light: #dfd180;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe47",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 71
  },
  "hsl": {
    "h": 53.684,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79124,
    "c": 0.13816,
    "h": 102.6
  },
  "luminance": 0.50119
}

Semantic roles & 50–950 ramp

primary
#CCBE47
secondary
#373F80
accent
#58E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBE47

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

Preview Lab → · Contrast checker → · Palette generator →

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