#CACF3B#CACF3B

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

Color values

HEX#CACF3B
RGBrgb(202, 207, 59)
HSLhsl(62, 61%, 52%)
HSVhsv(62, 71%, 81%)
CMYKcmyk(2.4%, 0%, 71.5%, 18.8%)
CIE-LABlab(80.46, -19.10, 68.50)
CIE-LCHlch(80.46, 71.11, 105.58°)
OKLaboklab(82.5% -0.0595 0.1516)
OKLCHoklch(82.5% 0.163 111.4)
XYZxyz(47.4609, 57.4992, 12.7352)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF3B #403BCF
analogous
#CF8A3B #CACF3B #80CF3B
triadic
#CACF3B #3BCACF #CF3BCA
tetradic
#CACF3B #3BCF8A #403BCF #CF3B80
square
#CACF3B #3BCF8A #403BCF #CF3B80
split-complementary
#CACF3B #3B80CF #8A3BCF
monochromatic
#70731C #A0A528 #CACF3B #D7DB6C #E5E79D

Accessibility & contrast

On white

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

On black

12.50
#CACF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF3B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF3B#FFFFFF#000000##000000
##CACF3B1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC61F
Deuteranopia (green-blind)
#E0C947
Tritanopia (blue-blind)
#D8C2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf3b;
/* rgb */ color: rgb(202, 207, 59);
/* oklch */ color: oklch(82.5% 0.163 111.4);
Tailwind
colors: {
  custom: {
    50: '#dedd7b',
    500: '#cacf3b',
    950: '#000000',
  },
}
SCSS
$custom: #cacf3b;
$custom-light: #dedd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf3b",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 62.027,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82499,
    "c": 0.16284,
    "h": 111.4
  },
  "luminance": 0.57498
}

Semantic roles & 50–950 ramp

primary
#CACF3B
secondary
#35327C
accent
#44E449
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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