#CBD248#CBD248

#CBD248 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.3% C 0.157 H 112.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CBD248
RGBrgb(203, 210, 72)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 66%, 82%)
CMYKcmyk(3.3%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.43, -19.47, 64.71)
CIE-LCHlch(81.43, 67.57, 106.75°)
OKLaboklab(83.32% -0.0593 0.1457)
OKLCHoklch(83.32% 0.157 112.2)
XYZxyz(48.8463, 59.2587, 14.9946)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD248 #4F48D2
analogous
#D29448 #CBD248 #86D248
triadic
#CBD248 #48CBD2 #D248CB
tetradic
#CBD248 #48D294 #4F48D2 #D24886
square
#CBD248 #48D294 #4F48D2 #D24886
split-complementary
#CBD248 #4886D2 #9448D2
monochromatic
#7B8020 #AAB12C #CBD248 #D9DE79 #E7EAAA

Accessibility & contrast

On white

1.63
#CBD248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CBD248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD248
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD248#FFFFFF#000000##000000
##CBD2481.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C934
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#D8C6B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd248;
/* rgb */ color: rgb(203, 210, 72);
/* oklch */ color: oklch(83.3% 0.157 112.2);
Tailwind
colors: {
  custom: {
    50: '#dedf82',
    500: '#cbd248',
    950: '#000000',
  },
}
SCSS
$custom: #cbd248;
$custom-light: #dedf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd248",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 63.043,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83324,
    "c": 0.15731,
    "h": 112.2
  },
  "luminance": 0.59258
}

Semantic roles & 50–950 ramp

primary
#CBD248
secondary
#3B3787
accent
#44E44C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD248

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

Preview Lab → · Contrast checker → · Palette generator →

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