#CCB14F#CCB14F

#CCB14F is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.121 H 93.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CCB14F
RGBrgb(204, 177, 79)
HSLhsl(47, 55%, 55%)
HSVhsv(47, 61%, 80%)
CMYKcmyk(0%, 13.2%, 61.3%, 20%)
CIE-LABlab(72.79, -1.77, 52.54)
CIE-LCHlch(72.79, 52.56, 91.93°)
OKLaboklab(76.49% -0.0083 0.1209)
OKLCHoklch(76.49% 0.121 93.9)
XYZxyz(42.0371, 44.8483, 13.8380)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB14F #4F6ACC
analogous
#CC724F #CCB14F #A8CC4F
triadic
#CCB14F #4FCCB1 #B14FCC
tetradic
#CCB14F #4FCC72 #4F6ACC #CC4FA8
square
#CCB14F #4FCC72 #4F6ACC #CC4FA8
split-complementary
#CCB14F #4FA8CC #724FCC
monochromatic
#7D6924 #AC9232 #CCB14F #DAC67E #E7DBAE

Accessibility & contrast

On white

2.11
#CCB14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CCB14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB14F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB14F#FFFFFF#000000##000000
##CCB14F1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE45
Deuteranopia (green-blind)
#C9B653
Tritanopia (blue-blind)
#DBA49C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb14f;
/* rgb */ color: rgb(204, 177, 79);
/* oklch */ color: oklch(76.5% 0.121 93.9);
Tailwind
colors: {
  custom: {
    50: '#dfc884',
    500: '#ccb14f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb14f;
$custom-light: #dfc884;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb14f",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 79
  },
  "hsl": {
    "h": 47.04,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7649,
    "c": 0.12119,
    "h": 93.9
  },
  "luminance": 0.44846
}

Semantic roles & 50–950 ramp

primary
#CCB14F
secondary
#A1ADD5
accent
#6ADE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB14F

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

Preview Lab → · Contrast checker → · Palette generator →

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