#CBC775#CBC775

#CBC775 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.104 H 106.1°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CBC775
RGBrgb(203, 199, 117)
HSLhsl(57, 45%, 63%)
HSVhsv(57, 42%, 80%)
CMYKcmyk(0%, 2%, 42.4%, 20.4%)
CIE-LABlab(78.94, -10.34, 41.44)
CIE-LCHlch(78.94, 42.71, 104.00°)
OKLaboklab(81.49% -0.0288 0.1002)
OKLCHoklch(81.49% 0.104 106.1)
XYZxyz(48.2638, 54.8289, 24.8668)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC775 #7579CB
analogous
#CB9C75 #CBC775 #A4CB75
triadic
#CBC775 #75CBC7 #C775CB
tetradic
#CBC775 #75CB9C #7579CB #CB75A4
square
#CBC775 #75CB9C #7579CB #CB75A4
split-complementary
#CBC775 #75A4CB #9C75CB
monochromatic
#908B36 #BAB549 #CBC775 #DCD9A1 #ECEBCE

Accessibility & contrast

On white

1.76
#CBC775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CBC775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC775
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC775#FFFFFF#000000##000000
##CBC7751.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16E
Deuteranopia (green-blind)
#D6C579
Tritanopia (blue-blind)
#D6BDB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc775;
/* rgb */ color: rgb(203, 199, 117);
/* oklch */ color: oklch(81.5% 0.104 106.1);
Tailwind
colors: {
  custom: {
    50: '#dcd79e',
    500: '#cbc775',
    950: '#000000',
  },
}
SCSS
$custom: #cbc775;
$custom-light: #dcd79e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc775",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 117
  },
  "hsl": {
    "h": 57.209,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81486,
    "c": 0.10427,
    "h": 106.1
  },
  "luminance": 0.54828
}

Semantic roles & 50–950 ramp

primary
#CBC775
secondary
#4E5196
accent
#34B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC775

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

Preview Lab → · Contrast checker → · Palette generator →

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