#CBC249#CBC249

#CBC249 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.140 H 105.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CBC249
RGBrgb(203, 194, 73)
HSLhsl(56, 56%, 54%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 4.4%, 64%, 20.4%)
CIE-LABlab(77.14, -11.40, 59.84)
CIE-LCHlch(77.14, 60.92, 100.79°)
OKLaboklab(79.9% -0.0365 0.1356)
OKLCHoklch(79.9% 0.14 105.1)
XYZxyz(45.1246, 51.7627, 13.9163)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC249 #4952CB
analogous
#CB8149 #CBC249 #93CB49
triadic
#CBC249 #49CBC2 #C249CB
tetradic
#CBC249 #49CB81 #4952CB #CB4993
square
#CBC249 #49CB81 #4952CB #CB4993
split-complementary
#CBC249 #4993CB #8149CB
monochromatic
#777222 #A79F30 #CBC249 #D9D279 #E6E2A8

Accessibility & contrast

On white

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

On black

11.35
#CBC249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC249
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC249#FFFFFF#000000##000000
##CBC2491.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3A
Deuteranopia (green-blind)
#D5C150
Tritanopia (blue-blind)
#D9B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc249;
/* rgb */ color: rgb(203, 194, 73);
/* oklch */ color: oklch(79.9% 0.140 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded481',
    500: '#cbc249',
    950: '#000000',
  },
}
SCSS
$custom: #cbc249;
$custom-light: #ded481;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc249",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 55.846,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.799,
    "c": 0.1404,
    "h": 105.1
  },
  "luminance": 0.51761
}

Semantic roles & 50–950 ramp

primary
#CBC249
secondary
#383D80
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC249

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

Preview Lab → · Contrast checker → · Palette generator →

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