#CBC348#CBC348

#CBC348 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.142 H 105.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CBC348
RGBrgb(203, 195, 72)
HSLhsl(56, 56%, 54%)
HSVhsv(56, 65%, 80%)
CMYKcmyk(0%, 3.9%, 64.5%, 20.4%)
CIE-LABlab(77.40, -11.97, 60.53)
CIE-LCHlch(77.40, 61.70, 101.19°)
OKLaboklab(80.1% -0.0382 0.1369)
OKLCHoklch(80.1% 0.142 105.6)
XYZxyz(45.3151, 52.1962, 13.8175)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC348 #4850CB
analogous
#CB8248 #CBC348 #92CB48
triadic
#CBC348 #48CBC3 #C348CB
tetradic
#CBC348 #48CB82 #4850CB #CB4892
square
#CBC348 #48CB82 #4850CB #CB4892
split-complementary
#CBC348 #4892CB #8248CB
monochromatic
#777222 #A69F2F #CBC348 #D9D378 #E6E2A7

Accessibility & contrast

On white

1.84
#CBC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CBC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC348
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC348#FFFFFF#000000##000000
##CBC3481.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#D9B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc348;
/* rgb */ color: rgb(203, 195, 72);
/* oklch */ color: oklch(80.1% 0.142 105.6);
Tailwind
colors: {
  custom: {
    50: '#ded481',
    500: '#cbc348',
    950: '#000000',
  },
}
SCSS
$custom: #cbc348;
$custom-light: #ded481;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc348",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 56.336,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.1421,
    "h": 105.6
  },
  "luminance": 0.52195
}

Semantic roles & 50–950 ramp

primary
#CBC348
secondary
#383C7F
accent
#52DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC348

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

Preview Lab → · Contrast checker → · Palette generator →

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