#CBCF51#CBCF51

#CBCF51 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.147 H 110.9°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CBCF51
RGBrgb(203, 207, 81)
HSLhsl(62, 57%, 56%)
HSVhsv(62, 61%, 81%)
CMYKcmyk(1.9%, 0%, 60.9%, 18.8%)
CIE-LABlab(80.69, -17.43, 60.28)
CIE-LCHlch(80.69, 62.74, 106.13°)
OKLaboklab(82.75% -0.0527 0.1377)
OKLCHoklch(82.75% 0.147 110.9)
XYZxyz(48.4280, 57.9174, 16.4111)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF51 #5551CF
analogous
#CF9451 #CBCF51 #8CCF51
triadic
#CBCF51 #51CBCF #CF51CB
tetradic
#CBCF51 #51CF94 #5551CF #CF518C
square
#CBCF51 #51CF94 #5551CF #CF518C
split-complementary
#CBCF51 #518CCF #9451CF
monochromatic
#7F8224 #AEB231 #CBCF51 #D9DC81 #E8E9B1

Accessibility & contrast

On white

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

On black

12.58
#CBCF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF51
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF51#FFFFFF#000000##000000
##CBCF511.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#D8C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf51;
/* rgb */ color: rgb(203, 207, 81);
/* oklch */ color: oklch(82.8% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#dedd87',
    500: '#cbcf51',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf51;
$custom-light: #dedd87;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf51",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 61.905,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82754,
    "c": 0.14738,
    "h": 110.9
  },
  "luminance": 0.57916
}

Semantic roles & 50–950 ramp

primary
#CBCF51
secondary
#3E3B89
accent
#48E04D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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