#CCB448#CCB448

#CCB448 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.129 H 96.7°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CCB448
RGBrgb(204, 180, 72)
HSLhsl(49, 56%, 54%)
HSVhsv(49, 65%, 80%)
CMYKcmyk(0%, 11.8%, 64.7%, 20%)
CIE-LABlab(73.51, -3.80, 56.45)
CIE-LCHlch(73.51, 56.57, 93.86°)
OKLaboklab(77.04% -0.015 0.1282)
OKLCHoklch(77.04% 0.129 96.7)
XYZxyz(42.3947, 45.9498, 12.7658)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB448 #4860CC
analogous
#CC7248 #CCB448 #A2CC48
triadic
#CCB448 #48CCB4 #B448CC
tetradic
#CCB448 #48CC72 #4860CC #CC48A2
square
#CCB448 #48CC72 #4860CC #CC48A2
split-complementary
#CCB448 #48A2CC #7248CC
monochromatic
#786821 #A8922F #CCB448 #D9C878 #E7DBA8

Accessibility & contrast

On white

2.06
#CCB448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#CCB448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB448
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB448#FFFFFF#000000##000000
##CCB4481.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#DBA79D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb448;
/* rgb */ color: rgb(204, 180, 72);
/* oklch */ color: oklch(77.0% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#dfca80',
    500: '#ccb448',
    950: '#000000',
  },
}
SCSS
$custom: #ccb448;
$custom-light: #dfca80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb448",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 49.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7704,
    "c": 0.12908,
    "h": 96.7
  },
  "luminance": 0.45948
}

Semantic roles & 50–950 ramp

primary
#CCB448
secondary
#9CA6D4
accent
#64E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB448

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

Preview Lab → · Contrast checker → · Palette generator →

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