#CBD142#CBD142

#CBD142 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.160 H 111.8°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CBD142
RGBrgb(203, 209, 66)
HSLhsl(63, 61%, 54%)
HSVhsv(63, 68%, 82%)
CMYKcmyk(2.9%, 0%, 68.4%, 18%)
CIE-LABlab(81.12, -19.32, 66.67)
CIE-LCHlch(81.12, 69.41, 106.16°)
OKLaboklab(83.06% -0.0595 0.1489)
OKLCHoklch(83.06% 0.16 111.8)
XYZxyz(48.4139, 58.6920, 13.9316)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD142 #4842D1
analogous
#D18F42 #CBD142 #84D142
triadic
#CBD142 #42CBD1 #D142CB
tetradic
#CBD142 #42D18F #4842D1 #D14284
square
#CBD142 #42D18F #4842D1 #D14284
split-complementary
#CBD142 #4284D1 #8F42D1
monochromatic
#777B1E #A6AC2A #CBD142 #D9DD73 #E6E9A4

Accessibility & contrast

On white

1.65
#CBD142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CBD142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD142
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD142#FFFFFF#000000##000000
##CBD1421.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82B
Deuteranopia (green-blind)
#E1CB4C
Tritanopia (blue-blind)
#D9C4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd142;
/* rgb */ color: rgb(203, 209, 66);
/* oklch */ color: oklch(83.1% 0.160 111.8);
Tailwind
colors: {
  custom: {
    50: '#dede7f',
    500: '#cbd142',
    950: '#000000',
  },
}
SCSS
$custom: #cbd142;
$custom-light: #dede7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd142",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 62.517,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83062,
    "c": 0.16033,
    "h": 111.8
  },
  "luminance": 0.58691
}

Semantic roles & 50–950 ramp

primary
#CBD142
secondary
#383583
accent
#44E44B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD142

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

Preview Lab → · Contrast checker → · Palette generator →

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