#CBCF37#CBCF37

#CBCF37 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.6% C 0.165 H 111.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CBCF37
RGBrgb(203, 207, 55)
HSLhsl(62, 61%, 51%)
HSVhsv(62, 73%, 81%)
CMYKcmyk(1.9%, 0%, 73.4%, 18.8%)
CIE-LABlab(80.52, -18.86, 69.93)
CIE-LCHlch(80.52, 72.43, 105.09°)
OKLaboklab(82.56% -0.0592 0.1539)
OKLCHoklch(82.56% 0.165 111.1)
XYZxyz(47.6327, 57.5993, 12.2223)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF37 #3B37CF
analogous
#CF8737 #CBCF37 #7FCF37
triadic
#CBCF37 #37CBCF #CF37CB
tetradic
#CBCF37 #37CF87 #3B37CF #CF377F
square
#CBCF37 #37CF87 #3B37CF #CF377F
split-complementary
#CBCF37 #377FCF #8737CF
monochromatic
#6E711B #9FA227 #CBCF37 #D8DB68 #E5E79A

Accessibility & contrast

On white

1.68
#CBCF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CBCF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF37
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF37#FFFFFF#000000##000000
##CBCF371.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC616
Deuteranopia (green-blind)
#E0CA43
Tritanopia (blue-blind)
#D9C2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf37;
/* rgb */ color: rgb(203, 207, 55);
/* oklch */ color: oklch(82.6% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd79',
    500: '#cbcf37',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf37;
$custom-light: #dfdd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf37",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 55
  },
  "hsl": {
    "h": 61.579,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.82556,
    "c": 0.16489,
    "h": 111.1
  },
  "luminance": 0.57598
}

Semantic roles & 50–950 ramp

primary
#CBCF37
secondary
#33317A
accent
#43E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBCF37

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

Preview Lab → · Contrast checker → · Palette generator →

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