#CFCB30#CFCB30

#CFCB30 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.164 H 108.0°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CFCB30
RGBrgb(207, 203, 48)
HSLhsl(58, 62%, 50%)
HSVhsv(58, 77%, 81%)
CMYKcmyk(0%, 1.9%, 76.8%, 18.8%)
CIE-LABlab(79.72, -15.47, 71.52)
CIE-LCHlch(79.72, 73.17, 102.21°)
OKLaboklab(81.99% -0.0506 0.1559)
OKLCHoklch(81.99% 0.164 108)
XYZxyz(47.6235, 56.1923, 11.1333)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB30 #3034CF
analogous
#CF7C30 #CFCB30 #83CF30
triadic
#CFCB30 #30CFCB #CB30CF
tetradic
#CFCB30 #30CF7C #3034CF #CF3083
square
#CFCB30 #30CF7C #3034CF #CF3083
split-complementary
#CFCB30 #3083CF #7C30CF
monochromatic
#6C6A19 #9D9A24 #CFCB30 #DBD762 #E6E493

Accessibility & contrast

On white

1.72
#CFCB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CFCB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB30
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB30#FFFFFF#000000##000000
##CFCB301.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DFC83D
Tritanopia (blue-blind)
#DEBDAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb30;
/* rgb */ color: rgb(207, 203, 48);
/* oklch */ color: oklch(82.0% 0.164 108.0);
Tailwind
colors: {
  custom: {
    50: '#e2da75',
    500: '#cfcb30',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb30;
$custom-light: #e2da75;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb30",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 48
  },
  "hsl": {
    "h": 58.491,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.8199,
    "c": 0.16386,
    "h": 108
  },
  "luminance": 0.56191
}

Semantic roles & 50–950 ramp

primary
#CFCB30
secondary
#2E3075
accent
#46E542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFCB30

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

Preview Lab → · Contrast checker → · Palette generator →

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