#CBD348#CBD348

#CBD348 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.5% C 0.158 H 112.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CBD348
RGBrgb(203, 211, 72)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 66%, 83%)
CMYKcmyk(3.8%, 0%, 65.9%, 17.3%)
CIE-LABlab(81.70, -19.96, 64.99)
CIE-LCHlch(81.70, 67.98, 107.08°)
OKLaboklab(83.54% -0.0607 0.1463)
OKLCHoklch(83.54% 0.158 112.5)
XYZxyz(49.0940, 59.7540, 15.0771)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD348 #5048D3
analogous
#D39548 #CBD348 #86D348
triadic
#CBD348 #48CBD3 #D348CB
tetradic
#CBD348 #48D395 #5048D3 #D34886
square
#CBD348 #48D395 #5048D3 #D34886
split-complementary
#CBD348 #4886D3 #9548D3
monochromatic
#7C811F #ABB32B #CBD348 #D9DF79 #E7EBAB

Accessibility & contrast

On white

1.62
#CBD348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CBD348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD348
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD348#FFFFFF#000000##000000
##CBD3481.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#D8C7B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd348;
/* rgb */ color: rgb(203, 211, 72);
/* oklch */ color: oklch(83.5% 0.158 112.5);
Tailwind
colors: {
  custom: {
    50: '#dee082',
    500: '#cbd348',
    950: '#000000',
  },
}
SCSS
$custom: #cbd348;
$custom-light: #dee082;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd348",
  "rgb": {
    "r": 203,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 63.453,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83541,
    "c": 0.15838,
    "h": 112.5
  },
  "luminance": 0.59753
}

Semantic roles & 50–950 ramp

primary
#CBD348
secondary
#3B3789
accent
#43E44D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD348

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

Preview Lab → · Contrast checker → · Palette generator →

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