#CCB74A#CCB74A

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

Color values

HEX#CCB74A
RGBrgb(204, 183, 74)
HSLhsl(50, 56%, 55%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.3%, 63.7%, 20%)
CIE-LABlab(74.32, -5.25, 56.44)
CIE-LCHlch(74.32, 56.68, 95.31°)
OKLaboklab(77.68% -0.0189 0.1285)
OKLCHoklch(77.68% 0.13 98.4)
XYZxyz(43.0732, 47.2007, 13.3191)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB74A #4A5FCC
analogous
#CC764A #CCB74A #A0CC4A
triadic
#CCB74A #4ACCB7 #B74ACC
tetradic
#CCB74A #4ACC76 #4A5FCC #CC4AA0
square
#CCB74A #4ACC76 #4A5FCC #CC4AA0
split-complementary
#CCB74A #4AA0CC #764ACC
monochromatic
#796B22 #A99630 #CCB74A #D9CA7A #E7DDA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB74A#FFFFFF#000000##000000
##CCB74A1.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)
#C8B33D
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#DBAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb74a;
/* rgb */ color: rgb(204, 183, 74);
/* oklch */ color: oklch(77.7% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfcc81',
    500: '#ccb74a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb74a;
$custom-light: #dfcc81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb74a",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 50.308,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77683,
    "c": 0.12988,
    "h": 98.4
  },
  "luminance": 0.47199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB74A

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

Preview Lab → · Contrast checker → · Palette generator →

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