#CBC451#CBC451

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

Color values

HEX#CBC451
RGBrgb(203, 196, 81)
HSLhsl(57, 54%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 3.4%, 60.1%, 20.4%)
CIE-LABlab(77.74, -11.90, 57.07)
CIE-LCHlch(77.74, 58.30, 101.78°)
OKLaboklab(80.4% -0.037 0.1309)
OKLCHoklch(80.4% 0.136 105.8)
XYZxyz(45.8553, 52.7720, 15.5535)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC451 #5158CB
analogous
#CB8751 #CBC451 #95CB51
triadic
#CBC451 #51CBC4 #C451CB
tetradic
#CBC451 #51CB87 #5158CB #CB5195
square
#CBC451 #51CB87 #5158CB #CB5195
split-complementary
#CBC451 #5195CB #8751CB
monochromatic
#7C7725 #ACA533 #CBC451 #D9D480 #E7E4AF

Accessibility & contrast

On white

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

On black

11.55
#CBC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC451
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC451#FFFFFF#000000##000000
##CBC4511.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD44
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#D9B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc451;
/* rgb */ color: rgb(203, 196, 81);
/* oklch */ color: oklch(80.4% 0.136 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded586',
    500: '#cbc451',
    950: '#000000',
  },
}
SCSS
$custom: #cbc451;
$custom-light: #ded586;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc451",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 56.557,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.804,
    "c": 0.13599,
    "h": 105.8
  },
  "luminance": 0.5277
}

Semantic roles & 50–950 ramp

primary
#CBC451
secondary
#3C4084
accent
#53DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC451

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

Preview Lab → · Contrast checker → · Palette generator →

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