#CCB749#CCB749

#CCB749 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.7% C 0.131 H 98.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CCB749
RGBrgb(204, 183, 73)
HSLhsl(50, 56%, 54%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.3%, 64.2%, 20%)
CIE-LABlab(74.31, -5.31, 56.86)
CIE-LCHlch(74.31, 57.11, 95.33°)
OKLaboklab(77.67% -0.0192 0.1293)
OKLCHoklch(77.67% 0.131 98.4)
XYZxyz(43.0398, 47.1874, 13.1430)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB749 #495ECC
analogous
#CC7649 #CCB749 #9FCC49
triadic
#CCB749 #49CCB7 #B749CC
tetradic
#CCB749 #49CC76 #495ECC #CC499F
square
#CCB749 #49CC76 #495ECC #CC499F
split-complementary
#CCB749 #499FCC #7649CC
monochromatic
#796B22 #A9952F #CCB749 #D9CA79 #E7DDA9

Accessibility & contrast

On white

2.01
#CCB749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#CCB749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB749
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB749#FFFFFF#000000##000000
##CCB7491.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33C
Deuteranopia (green-blind)
#CEBA4F
Tritanopia (blue-blind)
#DBAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb749;
/* rgb */ color: rgb(204, 183, 73);
/* oklch */ color: oklch(77.7% 0.131 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfcc81',
    500: '#ccb749',
    950: '#000000',
  },
}
SCSS
$custom: #ccb749;
$custom-light: #dfcc81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb749",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 73
  },
  "hsl": {
    "h": 50.382,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77674,
    "c": 0.13067,
    "h": 98.4
  },
  "luminance": 0.47185
}

Semantic roles & 50–950 ramp

primary
#CCB749
secondary
#9DA6D4
accent
#61E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB749

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

Preview Lab → · Contrast checker → · Palette generator →

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