#CCB439#CCB439

#CCB439 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.9% C 0.140 H 97.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CCB439
RGBrgb(204, 180, 57)
HSLhsl(50, 59%, 51%)
HSVhsv(50, 72%, 80%)
CMYKcmyk(0%, 11.8%, 72.1%, 20%)
CIE-LABlab(73.40, -4.62, 62.44)
CIE-LCHlch(73.40, 62.61, 94.23°)
OKLaboklab(76.92% -0.019 0.1383)
OKLCHoklch(76.92% 0.14 97.8)
XYZxyz(41.9637, 45.7774, 10.4957)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB439 #3951CC
analogous
#CC6A39 #CCB439 #9ACC39
triadic
#CCB439 #39CCB4 #B439CC
tetradic
#CCB439 #39CC6A #3951CC #CC399A
square
#CCB439 #39CC6A #3951CC #CC399A
split-complementary
#CCB439 #399ACC #6A39CC
monochromatic
#6E611C #9F8C29 #CCB439 #D9C66A #E5D99A

Accessibility & contrast

On white

2.07
#CCB439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CCB439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB439
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB439#FFFFFF#000000##000000
##CCB4391.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CCB841
Tritanopia (blue-blind)
#DCA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb439;
/* rgb */ color: rgb(204, 180, 57);
/* oklch */ color: oklch(76.9% 0.140 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfca77',
    500: '#ccb439',
    950: '#000000',
  },
}
SCSS
$custom: #ccb439;
$custom-light: #dfca77;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb439",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 50.204,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76916,
    "c": 0.13964,
    "h": 97.8
  },
  "luminance": 0.45775
}

Semantic roles & 50–950 ramp

primary
#CCB439
secondary
#909BD1
accent
#5FE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB439

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

Preview Lab → · Contrast checker → · Palette generator →

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