#CBC474#CBC474

#CBC474 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.102 H 104.1°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CBC474
RGBrgb(203, 196, 116)
HSLhsl(55, 46%, 63%)
HSVhsv(55, 43%, 80%)
CMYKcmyk(0%, 3.4%, 42.9%, 20.4%)
CIE-LABlab(78.13, -8.90, 40.93)
CIE-LCHlch(78.13, 41.89, 102.27°)
OKLaboklab(80.84% -0.0248 0.099)
OKLCHoklch(80.84% 0.102 104.1)
XYZxyz(47.5219, 53.4386, 24.3310)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC474 #747BCB
analogous
#CB9874 #CBC474 #A7CB74
triadic
#CBC474 #74CBC4 #C474CB
tetradic
#CBC474 #74CB98 #747BCB #CB74A7
square
#CBC474 #74CB98 #747BCB #CB74A7
split-complementary
#CBC474 #74A7CB #9874CB
monochromatic
#8F8836 #BAB147 #CBC474 #DCD7A1 #ECEACD

Accessibility & contrast

On white

1.80
#CBC474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CBC474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC474
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC474#FFFFFF#000000##000000
##CBC4741.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6E
Deuteranopia (green-blind)
#D3C377
Tritanopia (blue-blind)
#D7BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc474;
/* rgb */ color: rgb(203, 196, 116);
/* oklch */ color: oklch(80.8% 0.102 104.1);
Tailwind
colors: {
  custom: {
    50: '#dcd59d',
    500: '#cbc474',
    950: '#000000',
  },
}
SCSS
$custom: #cbc474;
$custom-light: #dcd59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc474",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 55.172,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80839,
    "c": 0.10206,
    "h": 104.1
  },
  "luminance": 0.53437
}

Semantic roles & 50–950 ramp

primary
#CBC474
secondary
#4D5396
accent
#38B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC474

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

Preview Lab → · Contrast checker → · Palette generator →

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