#CBB348#CBB348

#CBB348 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.128 H 96.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CBB348
RGBrgb(203, 179, 72)
HSLhsl(49, 56%, 54%)
HSVhsv(49, 65%, 80%)
CMYKcmyk(0%, 11.8%, 64.5%, 20.4%)
CIE-LABlab(73.16, -3.71, 56.04)
CIE-LCHlch(73.16, 56.16, 93.79°)
OKLaboklab(76.74% -0.0147 0.1274)
OKLCHoklch(76.74% 0.128 96.6)
XYZxyz(41.9203, 45.4066, 12.6859)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB348 #4860CB
analogous
#CB7248 #CBB348 #A2CB48
triadic
#CBB348 #48CBB3 #B348CB
tetradic
#CBB348 #48CB72 #4860CB #CB48A2
square
#CBB348 #48CB72 #4860CB #CB48A2
split-complementary
#CBB348 #48A2CB #7248CB
monochromatic
#776722 #A6912F #CBB348 #D9C778 #E6DBA7

Accessibility & contrast

On white

2.08
#CBB348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CBB348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB348
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB348#FFFFFF#000000##000000
##CBB3481.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#DAA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cbb348;
/* rgb */ color: rgb(203, 179, 72);
/* oklch */ color: oklch(76.7% 0.128 96.6);
Tailwind
colors: {
  custom: {
    50: '#dec980',
    500: '#cbb348',
    950: '#000000',
  },
}
SCSS
$custom: #cbb348;
$custom-light: #dec980;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb348",
  "rgb": {
    "r": 203,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 49.008,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76738,
    "c": 0.12822,
    "h": 96.6
  },
  "luminance": 0.45405
}

Semantic roles & 50–950 ramp

primary
#CBB348
secondary
#9BA6D3
accent
#64DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB348

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

Preview Lab → · Contrast checker → · Palette generator →

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