#CCB741#CCB741

#CCB741 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.137 H 99.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CCB741
RGBrgb(204, 183, 65)
HSLhsl(51, 58%, 53%)
HSVhsv(51, 68%, 80%)
CMYKcmyk(0%, 10.3%, 68.1%, 20%)
CIE-LABlab(74.25, -5.78, 60.15)
CIE-LCHlch(74.25, 60.43, 95.49°)
OKLaboklab(77.6% -0.0214 0.1349)
OKLCHoklch(77.6% 0.137 99)
XYZxyz(42.7914, 47.0880, 11.8349)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB741 #4156CC
analogous
#CC7141 #CCB741 #9CCC41
triadic
#CCB741 #41CCB7 #B741CC
tetradic
#CCB741 #41CC71 #4156CC #CC419C
square
#CCB741 #41CC71 #4156CC #CC419C
split-complementary
#CCB741 #419CCC #7141CC
monochromatic
#74671F #A4922C #CCB741 #D9C971 #E6DCA1

Accessibility & contrast

On white

2.02
#CCB741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CCB741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB741
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB741#FFFFFF#000000##000000
##CCB7411.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#DCAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb741;
/* rgb */ color: rgb(204, 183, 65);
/* oklch */ color: oklch(77.6% 0.137 99.0);
Tailwind
colors: {
  custom: {
    50: '#dfcc7c',
    500: '#ccb741',
    950: '#000000',
  },
}
SCSS
$custom: #ccb741;
$custom-light: #dfcc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb741",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 65
  },
  "hsl": {
    "h": 50.935,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77603,
    "c": 0.13661,
    "h": 99
  },
  "luminance": 0.47086
}

Semantic roles & 50–950 ramp

primary
#CCB741
secondary
#969FD3
accent
#5EE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB741

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

Preview Lab → · Contrast checker → · Palette generator →

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