#CBBE42#CBBE42

#CBBE42 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.0% C 0.142 H 103.3°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CBBE42
RGBrgb(203, 190, 66)
HSLhsl(54, 57%, 53%)
HSVhsv(54, 67%, 80%)
CMYKcmyk(0%, 6.4%, 67.5%, 20.4%)
CIE-LABlab(76.02, -9.77, 61.53)
CIE-LCHlch(76.02, 62.30, 99.02°)
OKLaboklab(78.99% -0.0326 0.138)
OKLCHoklch(78.99% 0.142 103.3)
XYZxyz(44.0272, 49.9185, 12.4693)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBE42 #424FCB
analogous
#CB7A42 #CBBE42 #93CB42
triadic
#CBBE42 #42CBBE #BE42CB
tetradic
#CBBE42 #42CB7A #424FCB #CB4293
square
#CBBE42 #42CB7A #424FCB #CB4293
split-complementary
#CBBE42 #4293CB #7A42CB
monochromatic
#736B20 #A3982D #CBBE42 #D8CF72 #E5DFA2

Accessibility & contrast

On white

1.91
#CBBE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CBBE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBE42
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBE42#FFFFFF#000000##000000
##CBBE421.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB831
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#DAB1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cbbe42;
/* rgb */ color: rgb(203, 190, 66);
/* oklch */ color: oklch(79.0% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#ded17d',
    500: '#cbbe42',
    950: '#000000',
  },
}
SCSS
$custom: #cbbe42;
$custom-light: #ded17d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbbe42",
  "rgb": {
    "r": 203,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 54.307,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78992,
    "c": 0.14184,
    "h": 103.3
  },
  "luminance": 0.49917
}

Semantic roles & 50–950 ramp

primary
#CBBE42
secondary
#979CD2
accent
#56E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16140A
muted
#84827C

Preview Lab

Preview with #CBBE42

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

Preview Lab → · Contrast checker → · Palette generator →

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