#CBD148#CBD148

#CBD148 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.1% C 0.156 H 111.8°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CBD148
RGBrgb(203, 209, 72)
HSLhsl(63, 60%, 55%)
HSVhsv(63, 66%, 82%)
CMYKcmyk(2.9%, 0%, 65.6%, 18%)
CIE-LABlab(81.16, -18.98, 64.43)
CIE-LCHlch(81.16, 67.17, 106.42°)
OKLaboklab(83.11% -0.058 0.1451)
OKLCHoklch(83.11% 0.156 111.8)
XYZxyz(48.6002, 58.7665, 14.9125)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD148 #4E48D1
analogous
#D19348 #CBD148 #86D148
triadic
#CBD148 #48CBD1 #D148CB
tetradic
#CBD148 #48D193 #4E48D1 #D14886
square
#CBD148 #48D193 #4E48D1 #D14886
split-complementary
#CBD148 #4886D1 #9348D1
monochromatic
#7B7F20 #AAB02C #CBD148 #D9DD79 #E7EAAA

Accessibility & contrast

On white

1.65
#CBD148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#CBD148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD148
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD148#FFFFFF#000000##000000
##CBD1481.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C835
Deuteranopia (green-blind)
#E1CB51
Tritanopia (blue-blind)
#D8C5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd148;
/* rgb */ color: rgb(203, 209, 72);
/* oklch */ color: oklch(83.1% 0.156 111.8);
Tailwind
colors: {
  custom: {
    50: '#dede82',
    500: '#cbd148',
    950: '#000000',
  },
}
SCSS
$custom: #cbd148;
$custom-light: #dede82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd148",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 62.628,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83108,
    "c": 0.15626,
    "h": 111.8
  },
  "luminance": 0.58765
}

Semantic roles & 50–950 ramp

primary
#CBD148
secondary
#3A3786
accent
#45E34C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD148

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

Preview Lab → · Contrast checker → · Palette generator →

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