#CBC454#CBC454

#CBC454 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.133 H 105.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CBC454
RGBrgb(203, 196, 84)
HSLhsl(56, 53%, 56%)
HSVhsv(56, 59%, 80%)
CMYKcmyk(0%, 3.4%, 58.6%, 20.4%)
CIE-LABlab(77.77, -11.69, 55.78)
CIE-LCHlch(77.77, 56.99, 101.84°)
OKLaboklab(80.43% -0.0361 0.1285)
OKLCHoklch(80.43% 0.133 105.7)
XYZxyz(45.9703, 52.8180, 16.1591)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC454 #545BCB
analogous
#CB8954 #CBC454 #97CB54
triadic
#CBC454 #54CBC4 #C454CB
tetradic
#CBC454 #54CB89 #545BCB #CB5497
square
#CBC454 #54CB89 #545BCB #CB5497
split-complementary
#CBC454 #5497CB #8954CB
monochromatic
#7E7926 #ADA635 #CBC454 #D9D483 #E8E4B2

Accessibility & contrast

On white

1.82
#CBC454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CBC454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC454
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC454#FFFFFF#000000##000000
##CBC4541.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#D6C35A
Tritanopia (blue-blind)
#D9B8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc454;
/* rgb */ color: rgb(203, 196, 84);
/* oklch */ color: oklch(80.4% 0.133 105.7);
Tailwind
colors: {
  custom: {
    50: '#ddd588',
    500: '#cbc454',
    950: '#000000',
  },
}
SCSS
$custom: #cbc454;
$custom-light: #ddd588;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc454",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 56.471,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8043,
    "c": 0.13346,
    "h": 105.7
  },
  "luminance": 0.52816
}

Semantic roles & 50–950 ramp

primary
#CBC454
secondary
#3D4186
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC454

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

Preview Lab → · Contrast checker → · Palette generator →

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