#CBC253#CBC253

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

Color values

HEX#CBC253
RGBrgb(203, 194, 83)
HSLhsl(56, 54%, 56%)
HSVhsv(56, 59%, 80%)
CMYKcmyk(0%, 4.4%, 59.1%, 20.4%)
CIE-LABlab(77.22, -10.74, 55.62)
CIE-LCHlch(77.22, 56.65, 100.93°)
OKLaboklab(80% -0.0335 0.128)
OKLCHoklch(80% 0.132 104.7)
XYZxyz(45.4833, 51.9062, 15.8050)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC253 #535CCB
analogous
#CB8653 #CBC253 #98CB53
triadic
#CBC253 #53CBC2 #C253CB
tetradic
#CBC253 #53CB86 #535CCB #CB5398
square
#CBC253 #53CB86 #535CCB #CB5398
split-complementary
#CBC253 #5398CB #8653CB
monochromatic
#7E7726 #ADA434 #CBC253 #D9D382 #E7E3B1

Accessibility & contrast

On white

1.85
#CBC253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC253#FFFFFF#000000##000000
##CBC2531.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc253;
/* rgb */ color: rgb(203, 194, 83);
/* oklch */ color: oklch(80.0% 0.132 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded487',
    500: '#cbc253',
    950: '#000000',
  },
}
SCSS
$custom: #cbc253;
$custom-light: #ded487;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc253",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 55.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79996,
    "c": 0.13234,
    "h": 104.7
  },
  "luminance": 0.51905
}

Semantic roles & 50–950 ramp

primary
#CBC253
secondary
#3D4286
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC253

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

Preview Lab → · Contrast checker → · Palette generator →

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