#CBCF34#CBCF34

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

Color values

HEX#CBCF34
RGBrgb(203, 207, 52)
HSLhsl(62, 62%, 51%)
HSVhsv(62, 75%, 81%)
CMYKcmyk(1.9%, 0%, 74.9%, 18.8%)
CIE-LABlab(80.50, -18.99, 70.88)
CIE-LCHlch(80.50, 73.38, 105.00°)
OKLaboklab(82.54% -0.0598 0.1554)
OKLCHoklch(82.54% 0.167 111.1)
XYZxyz(47.5629, 57.5714, 11.8551)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF34 #3834CF
analogous
#CF8534 #CBCF34 #7ECF34
triadic
#CBCF34 #34CBCF #CF34CB
tetradic
#CBCF34 #34CF85 #3834CF #CF347E
square
#CBCF34 #34CF85 #3834CF #CF347E
split-complementary
#CBCF34 #347ECF #8534CF
monochromatic
#6C6E1A #9DA026 #CBCF34 #D8DB65 #E4E697

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCF34#FFFFFF#000000##000000
##CBCF341.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)
#DFC60C
Deuteranopia (green-blind)
#E0CA41
Tritanopia (blue-blind)
#D9C2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf34;
/* rgb */ color: rgb(203, 207, 52);
/* oklch */ color: oklch(82.5% 0.167 111.1);
Tailwind
colors: {
  custom: {
    50: '#dfdd78',
    500: '#cbcf34',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf34;
$custom-light: #dfdd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf34",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 52
  },
  "hsl": {
    "h": 61.548,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.82538,
    "c": 0.1665,
    "h": 111.1
  },
  "luminance": 0.5757
}

Semantic roles & 50–950 ramp

primary
#CBCF34
secondary
#312F78
accent
#43E547
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBCF34

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

Preview Lab → · Contrast checker → · Palette generator →

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