#CCB250#CCB250

#CCB250 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.121 H 94.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CCB250
RGBrgb(204, 178, 80)
HSLhsl(47, 55%, 56%)
HSVhsv(47, 61%, 80%)
CMYKcmyk(0%, 12.7%, 60.8%, 20%)
CIE-LABlab(73.06, -2.23, 52.38)
CIE-LCHlch(73.06, 52.42, 92.44°)
OKLaboklab(76.71% -0.0095 0.1207)
OKLCHoklch(76.71% 0.121 94.5)
XYZxyz(42.2720, 45.2594, 14.0972)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB250 #506ACC
analogous
#CC7450 #CCB250 #A8CC50
triadic
#CCB250 #50CCB2 #B250CC
tetradic
#CCB250 #50CC74 #506ACC #CC50A8
square
#CCB250 #50CC74 #506ACC #CC50A8
split-complementary
#CCB250 #50A8CC #7450CC
monochromatic
#7D6B24 #AD9332 #CCB250 #DAC77F #E8DCAF

Accessibility & contrast

On white

2.09
#CCB250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CCB250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB250
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB250#FFFFFF#000000##000000
##CCB2501.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF46
Deuteranopia (green-blind)
#C9B754
Tritanopia (blue-blind)
#DBA69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb250;
/* rgb */ color: rgb(204, 178, 80);
/* oklch */ color: oklch(76.7% 0.121 94.5);
Tailwind
colors: {
  custom: {
    50: '#dec885',
    500: '#ccb250',
    950: '#000000',
  },
}
SCSS
$custom: #ccb250;
$custom-light: #dec885;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb250",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 80
  },
  "hsl": {
    "h": 47.419,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76707,
    "c": 0.12106,
    "h": 94.5
  },
  "luminance": 0.45257
}

Semantic roles & 50–950 ramp

primary
#CCB250
secondary
#A2ADD6
accent
#69DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB250

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

Preview Lab → · Contrast checker → · Palette generator →

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