#CBCF30#CBCF30

#CBCF30 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.5% C 0.168 H 111.1°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CBCF30
RGBrgb(203, 207, 48)
HSLhsl(62, 62%, 50%)
HSVhsv(62, 77%, 81%)
CMYKcmyk(1.9%, 0%, 76.8%, 18.8%)
CIE-LABlab(80.48, -19.15, 72.08)
CIE-LCHlch(80.48, 74.58, 104.87°)
OKLaboklab(82.52% -0.0606 0.1572)
OKLCHoklch(82.52% 0.168 111.1)
XYZxyz(47.4766, 57.5369, 11.4005)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF30 #3430CF
analogous
#CF8330 #CBCF30 #7CCF30
triadic
#CBCF30 #30CBCF #CF30CB
tetradic
#CBCF30 #30CF83 #3430CF #CF307C
square
#CBCF30 #30CF83 #3430CF #CF307C
split-complementary
#CBCF30 #307CCF #8330CF
monochromatic
#6A6C19 #9A9D24 #CBCF30 #D7DB62 #E4E693

Accessibility & contrast

On white

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

On black

12.51
#CBCF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF30
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF30#FFFFFF#000000##000000
##CBCF301.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbcf30;
/* rgb */ color: rgb(203, 207, 48);
/* oklch */ color: oklch(82.5% 0.168 111.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd76',
    500: '#cbcf30',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf30;
$custom-light: #dfdd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf30",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 48
  },
  "hsl": {
    "h": 61.509,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.82517,
    "c": 0.16849,
    "h": 111.1
  },
  "luminance": 0.57536
}

Semantic roles & 50–950 ramp

primary
#CBCF30
secondary
#302E75
accent
#42E546
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CBCF30

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

Preview Lab → · Contrast checker → · Palette generator →

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