#CBC254#CBC254

#CBC254 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.131 H 104.6°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CBC254
RGBrgb(203, 194, 84)
HSLhsl(55, 53%, 56%)
HSVhsv(55, 59%, 80%)
CMYKcmyk(0%, 4.4%, 58.6%, 20.4%)
CIE-LABlab(77.23, -10.67, 55.19)
CIE-LCHlch(77.23, 56.21, 100.94°)
OKLaboklab(80.01% -0.0332 0.1272)
OKLCHoklch(80.01% 0.131 104.6)
XYZxyz(45.5221, 51.9217, 16.0098)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC254 #545DCB
analogous
#CB8754 #CBC254 #99CB54
triadic
#CBC254 #54CBC2 #C254CB
tetradic
#CBC254 #54CB87 #545DCB #CB5499
square
#CBC254 #54CB87 #545DCB #CB5499
split-complementary
#CBC254 #5499CB #8754CB
monochromatic
#7E7826 #ADA435 #CBC254 #D9D383 #E8E3B2

Accessibility & contrast

On white

1.84
#CBC254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CBC254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC254
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC254#FFFFFF#000000##000000
##CBC2541.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC48
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#D9B6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc254;
/* rgb */ color: rgb(203, 194, 84);
/* oklch */ color: oklch(80.0% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#ddd488',
    500: '#cbc254',
    950: '#000000',
  },
}
SCSS
$custom: #cbc254;
$custom-light: #ddd488;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc254",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 55.462,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80006,
    "c": 0.13149,
    "h": 104.6
  },
  "luminance": 0.5192
}

Semantic roles & 50–950 ramp

primary
#CBC254
secondary
#3D4386
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC254

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

Preview Lab → · Contrast checker → · Palette generator →

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