#CBCF42#CBCF42

#CBCF42 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.6% C 0.158 H 111.0°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CBCF42
RGBrgb(203, 207, 66)
HSLhsl(62, 59%, 54%)
HSVhsv(62, 68%, 81%)
CMYKcmyk(1.9%, 0%, 68.1%, 18.8%)
CIE-LABlab(80.58, -18.33, 66.13)
CIE-LCHlch(80.58, 68.63, 105.49°)
OKLaboklab(82.63% -0.0567 0.1477)
OKLCHoklch(82.63% 0.158 111)
XYZxyz(47.9263, 57.7167, 13.7690)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF42 #4642CF
analogous
#CF8C42 #CBCF42 #84CF42
triadic
#CBCF42 #42CBCF #CF42CB
tetradic
#CBCF42 #42CF8C #4642CF #CF4284
square
#CBCF42 #42CF8C #4642CF #CF4284
split-complementary
#CBCF42 #4284CF #8C42CF
monochromatic
#76781F #A5A92B #CBCF42 #D8DB73 #E6E8A4

Accessibility & contrast

On white

1.67
#CBCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CBCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF42
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF42#FFFFFF#000000##000000
##CBCF421.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62C
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#D9C2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf42;
/* rgb */ color: rgb(203, 207, 66);
/* oklch */ color: oklch(82.6% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#dedd7f',
    500: '#cbcf42',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf42;
$custom-light: #dedd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf42",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 61.702,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82629,
    "c": 0.15826,
    "h": 111
  },
  "luminance": 0.57716
}

Semantic roles & 50–950 ramp

primary
#CBCF42
secondary
#373580
accent
#45E34A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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