#CCB75F#CCB75F

#CCB75F is a light, moderate yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.111 H 96.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CCB75F
RGBrgb(204, 183, 95)
HSLhsl(48, 52%, 59%)
HSVhsv(48, 53%, 80%)
CMYKcmyk(0%, 10.3%, 53.4%, 20%)
CIE-LABlab(74.53, -3.71, 46.96)
CIE-LCHlch(74.53, 47.11, 94.51°)
OKLaboklab(77.92% -0.012 0.1107)
OKLCHoklch(77.92% 0.111 96.2)
XYZxyz(43.9024, 47.5324, 17.6864)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB75F #5F74CC
analogous
#CC805F #CCB75F #AACC5F
triadic
#CCB75F #5FCCB7 #B75FCC
tetradic
#CCB75F #5FCC80 #5F74CC #CC5FAA
square
#CCB75F #5FCC80 #5F74CC #CC5FAA
split-complementary
#CCB75F #5FAACC #805FCC
monochromatic
#86742B #B49D39 #CCB75F #DBCC8D #EAE1BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB75F#FFFFFF#000000##000000
##CCB75F1.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)
#C6B357
Deuteranopia (green-blind)
#CCBA63
Tritanopia (blue-blind)
#DAACA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb75f;
/* rgb */ color: rgb(204, 183, 95);
/* oklch */ color: oklch(77.9% 0.111 96.2);
Tailwind
colors: {
  custom: {
    50: '#decc8f',
    500: '#ccb75f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb75f;
$custom-light: #decc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb75f",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 95
  },
  "hsl": {
    "h": 48.44,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77918,
    "c": 0.11136,
    "h": 96.2
  },
  "luminance": 0.47531
}

Semantic roles & 50–950 ramp

primary
#CCB75F
secondary
#AEB6D9
accent
#68DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB75F

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

Preview Lab → · Contrast checker → · Palette generator →

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