#CCB846#CCB846

#CCB846 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.9% C 0.134 H 99.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CCB846
RGBrgb(204, 184, 70)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 66%, 80%)
CMYKcmyk(0%, 9.8%, 65.7%, 20%)
CIE-LABlab(74.55, -6.01, 58.40)
CIE-LCHlch(74.55, 58.71, 95.88°)
OKLaboklab(77.85% -0.0215 0.132)
OKLCHoklch(77.85% 0.134 99.3)
XYZxyz(43.1497, 47.5625, 12.7008)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB846 #465ACC
analogous
#CC7546 #CCB846 #9DCC46
triadic
#CCB846 #46CCB8 #B846CC
tetradic
#CCB846 #46CC75 #465ACC #CC469D
square
#CCB846 #46CC75 #465ACC #CC469D
split-complementary
#CCB846 #469DCC #7546CC
monochromatic
#776A21 #A7952E #CCB846 #D9CA76 #E6DDA6

Accessibility & contrast

On white

2.00
#CCB846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CCB846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB846
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB846#FFFFFF#000000##000000
##CCB8461.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B338
Deuteranopia (green-blind)
#CEBB4C
Tritanopia (blue-blind)
#DBABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb846;
/* rgb */ color: rgb(204, 184, 70);
/* oklch */ color: oklch(77.9% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#dfcd7f',
    500: '#ccb846',
    950: '#000000',
  },
}
SCSS
$custom: #ccb846;
$custom-light: #dfcd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb846",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 51.045,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77855,
    "c": 0.13378,
    "h": 99.3
  },
  "luminance": 0.47561
}

Semantic roles & 50–950 ramp

primary
#CCB846
secondary
#9AA3D4
accent
#5EE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB846

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

Preview Lab → · Contrast checker → · Palette generator →

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