#CCB262#CCB262

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

Color values

HEX#CCB262
RGBrgb(204, 178, 98)
HSLhsl(45, 51%, 59%)
HSVhsv(45, 52%, 80%)
CMYKcmyk(0%, 12.7%, 52%, 20%)
CIE-LABlab(73.26, -0.82, 43.97)
CIE-LCHlch(73.26, 43.98, 91.07°)
OKLaboklab(76.93% -0.0033 0.1044)
OKLCHoklch(76.93% 0.104 91.8)
XYZxyz(43.0284, 45.5620, 18.0808)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB262 #627CCC
analogous
#CC7D62 #CCB262 #B1CC62
triadic
#CCB262 #62CCB2 #B262CC
tetradic
#CCB262 #62CC7D #627CCC #CC62B1
square
#CCB262 #62CC7D #627CCC #CC62B1
split-complementary
#CCB262 #62B1CC #7D62CC
monochromatic
#88712C #B6983B #CCB262 #DBC990 #EADFBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB262#FFFFFF#000000##000000
##CCB2621.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)
#C1AF5B
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#DAA79F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb262;
/* rgb */ color: rgb(204, 178, 98);
/* oklch */ color: oklch(76.9% 0.104 91.8);
Tailwind
colors: {
  custom: {
    50: '#dec890',
    500: '#ccb262',
    950: '#000000',
  },
}
SCSS
$custom: #ccb262;
$custom-light: #dec890;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb262",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 45.283,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.76927,
    "c": 0.10448,
    "h": 91.8
  },
  "luminance": 0.4556
}

Semantic roles & 50–950 ramp

primary
#CCB262
secondary
#B0BADA
accent
#70DA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB262

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

Preview Lab → · Contrast checker → · Palette generator →

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