#CBCF48#CBCF48

#CBCF48 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.7% C 0.154 H 111.0°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CBCF48
RGBrgb(203, 207, 72)
HSLhsl(62, 58%, 55%)
HSVhsv(62, 65%, 81%)
CMYKcmyk(1.9%, 0%, 65.2%, 18.8%)
CIE-LABlab(80.62, -17.99, 63.87)
CIE-LCHlch(80.62, 66.36, 105.73°)
OKLaboklab(82.68% -0.0552 0.1439)
OKLCHoklch(82.68% 0.154 111)
XYZxyz(48.1126, 57.7912, 14.7500)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF48 #4C48CF
analogous
#CF9048 #CBCF48 #87CF48
triadic
#CBCF48 #48CBCF #CF48CB
tetradic
#CBCF48 #48CF90 #4C48CF #CF4887
square
#CBCF48 #48CF90 #4C48CF #CF4887
split-complementary
#CBCF48 #4887CF #9048CF
monochromatic
#797C21 #A9AD2D #CBCF48 #D9DC78 #E7E8A9

Accessibility & contrast

On white

1.67
#CBCF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CBCF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF48
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF48#FFFFFF#000000##000000
##CBCF481.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC635
Deuteranopia (green-blind)
#DFCA51
Tritanopia (blue-blind)
#D9C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf48;
/* rgb */ color: rgb(203, 207, 72);
/* oklch */ color: oklch(82.7% 0.154 111.0);
Tailwind
colors: {
  custom: {
    50: '#dedd82',
    500: '#cbcf48',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf48;
$custom-light: #dedd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf48",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 61.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82676,
    "c": 0.15416,
    "h": 111
  },
  "luminance": 0.5779
}

Semantic roles & 50–950 ramp

primary
#CBCF48
secondary
#3A3784
accent
#46E24B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBCF48

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

Preview Lab → · Contrast checker → · Palette generator →

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