#CCB261#CCB261

#CCB261 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.105 H 92.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CCB261
RGBrgb(204, 178, 97)
HSLhsl(45, 51%, 59%)
HSVhsv(45, 52%, 80%)
CMYKcmyk(0%, 12.7%, 52.5%, 20%)
CIE-LABlab(73.25, -0.91, 44.45)
CIE-LCHlch(73.25, 44.46, 91.17°)
OKLaboklab(76.91% -0.0037 0.1054)
OKLCHoklch(76.91% 0.105 92)
XYZxyz(42.9815, 45.5432, 17.8337)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB261 #617BCC
analogous
#CC7D61 #CCB261 #B0CC61
triadic
#CCB261 #61CCB2 #B261CC
tetradic
#CCB261 #61CC7D #617BCC #CC61B0
square
#CCB261 #61CC7D #617BCC #CC61B0
split-complementary
#CCB261 #61B0CC #7D61CC
monochromatic
#87712C #B5973B #CCB261 #DBC98F #EADFBE

Accessibility & contrast

On white

2.08
#CCB261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CCB261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB261
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB261#FFFFFF#000000##000000
##CCB2611.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5A
Deuteranopia (green-blind)
#C8B764
Tritanopia (blue-blind)
#DAA79F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb261;
/* rgb */ color: rgb(204, 178, 97);
/* oklch */ color: oklch(76.9% 0.105 92.0);
Tailwind
colors: {
  custom: {
    50: '#dec890',
    500: '#ccb261',
    950: '#000000',
  },
}
SCSS
$custom: #ccb261;
$custom-light: #dec890;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb261",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 97
  },
  "hsl": {
    "h": 45.421,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.76914,
    "c": 0.10546,
    "h": 92
  },
  "luminance": 0.45541
}

Semantic roles & 50–950 ramp

primary
#CCB261
secondary
#AFBAD9
accent
#70DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CCB261

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

Preview Lab → · Contrast checker → · Palette generator →

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