#CBBF42#CBBF42

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

Color values

HEX#CBBF42
RGBrgb(203, 191, 66)
HSLhsl(55, 57%, 53%)
HSVhsv(55, 67%, 80%)
CMYKcmyk(0%, 5.9%, 67.5%, 20.4%)
CIE-LABlab(76.29, -10.28, 61.80)
CIE-LCHlch(76.29, 62.65, 99.44°)
OKLaboklab(79.2% -0.034 0.1386)
OKLCHoklch(79.2% 0.143 103.8)
XYZxyz(44.2446, 50.3532, 12.5418)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBF42 #424ECB
analogous
#CB7B42 #CBBF42 #92CB42
triadic
#CBBF42 #42CBBF #BF42CB
tetradic
#CBBF42 #42CB7B #424ECB #CB4292
square
#CBBF42 #42CB7B #424ECB #CB4292
split-complementary
#CBBF42 #4292CB #7B42CB
monochromatic
#736C20 #A3992D #CBBF42 #D8CF72 #E5E0A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBBF42#FFFFFF#000000##000000
##CBBF421.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)
#D0B930
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#DAB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cbbf42;
/* rgb */ color: rgb(203, 191, 66);
/* oklch */ color: oklch(79.2% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded27d',
    500: '#cbbf42',
    950: '#000000',
  },
}
SCSS
$custom: #cbbf42;
$custom-light: #ded27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbf42",
  "rgb": {
    "r": 203,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 54.745,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79204,
    "c": 0.14273,
    "h": 103.8
  },
  "luminance": 0.50351
}

Semantic roles & 50–950 ramp

primary
#CBBF42
secondary
#353C7C
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBBF42

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

Preview Lab → · Contrast checker → · Palette generator →

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