#CBCF40#CBCF40

#CBCF40 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.6% C 0.160 H 111.0°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CBCF40
RGBrgb(203, 207, 64)
HSLhsl(62, 60%, 53%)
HSVhsv(62, 69%, 81%)
CMYKcmyk(1.9%, 0%, 69.1%, 18.8%)
CIE-LABlab(80.57, -18.43, 66.86)
CIE-LCHlch(80.57, 69.35, 105.41°)
OKLaboklab(82.62% -0.0572 0.1489)
OKLCHoklch(82.62% 0.16 111)
XYZxyz(47.8684, 57.6936, 13.4639)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF40 #4440CF
analogous
#CF8B40 #CBCF40 #84CF40
triadic
#CBCF40 #40CBCF #CF40CB
tetradic
#CBCF40 #40CF8B #4440CF #CF4084
square
#CBCF40 #40CF8B #4440CF #CF4084
split-complementary
#CBCF40 #4084CF #8B40CF
monochromatic
#74771E #A4A82A #CBCF40 #D8DB71 #E6E8A2

Accessibility & contrast

On white

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

On black

12.54
#CBCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF40
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF40#FFFFFF#000000##000000
##CBCF401.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC628
Deuteranopia (green-blind)
#E0CA4A
Tritanopia (blue-blind)
#D9C2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcf40;
/* rgb */ color: rgb(203, 207, 64);
/* oklch */ color: oklch(82.6% 0.160 111.0);
Tailwind
colors: {
  custom: {
    50: '#dedd7e',
    500: '#cbcf40',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf40;
$custom-light: #dedd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf40",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 61.678,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82615,
    "c": 0.15955,
    "h": 111
  },
  "luminance": 0.57692
}

Semantic roles & 50–950 ramp

primary
#CBCF40
secondary
#36347F
accent
#45E349
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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