#CBBF40#CBBF40

#CBBF40 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.2% C 0.144 H 103.9°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CBBF40
RGBrgb(203, 191, 64)
HSLhsl(55, 57%, 52%)
HSVhsv(55, 68%, 80%)
CMYKcmyk(0%, 5.9%, 68.5%, 20.4%)
CIE-LABlab(76.27, -10.39, 62.57)
CIE-LCHlch(76.27, 63.43, 99.42°)
OKLaboklab(79.19% -0.0346 0.1399)
OKLCHoklch(79.19% 0.144 103.9)
XYZxyz(44.1866, 50.3300, 12.2366)
Luminance0.5033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBF40 #404CCB
analogous
#CB7940 #CBBF40 #92CB40
triadic
#CBBF40 #40CBBF #BF40CB
tetradic
#CBBF40 #40CB79 #404CCB #CB4092
square
#CBBF40 #40CB79 #404CCB #CB4092
split-complementary
#CBBF40 #4092CB #7940CB
monochromatic
#726B1F #A2982C #CBBF40 #D8CF70 #E5DFA0

Accessibility & contrast

On white

1.90
#CBBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#CBBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBF40
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBF40#FFFFFF#000000##000000
##CBBF401.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#DAB2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cbbf40;
/* rgb */ color: rgb(203, 191, 64);
/* oklch */ color: oklch(79.2% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded27c',
    500: '#cbbf40',
    950: '#000000',
  },
}
SCSS
$custom: #cbbf40;
$custom-light: #ded27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbf40",
  "rgb": {
    "r": 203,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 54.82,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79188,
    "c": 0.14411,
    "h": 103.9
  },
  "luminance": 0.50328
}

Semantic roles & 50–950 ramp

primary
#CBBF40
secondary
#353B7B
accent
#55E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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