#CCB253#CCB253

#CCB253 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.118 H 94.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CCB253
RGBrgb(204, 178, 83)
HSLhsl(47, 54%, 56%)
HSVhsv(47, 59%, 80%)
CMYKcmyk(0%, 12.7%, 59.3%, 20%)
CIE-LABlab(73.09, -2.02, 51.02)
CIE-LCHlch(73.09, 51.06, 92.27°)
OKLaboklab(76.74% -0.0085 0.1182)
OKLCHoklch(76.74% 0.118 94.1)
XYZxyz(42.3854, 45.3047, 14.6941)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB253 #536DCC
analogous
#CC7653 #CCB253 #AACC53
triadic
#CCB253 #53CCB2 #B253CC
tetradic
#CCB253 #53CC76 #536DCC #CC53AA
square
#CCB253 #53CC76 #536DCC #CC53AA
split-complementary
#CCB253 #53AACC #7653CC
monochromatic
#7F6C26 #AE9434 #CCB253 #DAC782 #E8DCB1

Accessibility & contrast

On white

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

On black

10.06
#CCB253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB253
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB253#FFFFFF#000000##000000
##CCB2531.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb253;
/* rgb */ color: rgb(204, 178, 83);
/* oklch */ color: oklch(76.7% 0.118 94.1);
Tailwind
colors: {
  custom: {
    50: '#dec887',
    500: '#ccb253',
    950: '#000000',
  },
}
SCSS
$custom: #ccb253;
$custom-light: #dec887;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb253",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 83
  },
  "hsl": {
    "h": 47.107,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7674,
    "c": 0.11848,
    "h": 94.1
  },
  "luminance": 0.45303
}

Semantic roles & 50–950 ramp

primary
#CCB253
secondary
#A4AFD6
accent
#6ADE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB253

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

Preview Lab → · Contrast checker → · Palette generator →

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