#CABF3F#CABF3F

#CABF3F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.1% C 0.145 H 104.4°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CABF3F
RGBrgb(202, 191, 63)
HSLhsl(55, 57%, 52%)
HSVhsv(55, 69%, 79%)
CMYKcmyk(0%, 5.4%, 68.8%, 20.8%)
CIE-LABlab(76.18, -10.86, 62.84)
CIE-LCHlch(76.18, 63.77, 99.81°)
OKLaboklab(79.09% -0.036 0.1403)
OKLCHoklch(79.09% 0.145 104.4)
XYZxyz(43.8869, 50.1787, 12.0754)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF3F #3F4ACA
analogous
#CA7A3F #CABF3F #90CA3F
triadic
#CABF3F #3FCABF #BF3FCA
tetradic
#CABF3F #3FCA7A #3F4ACA #CA3F90
square
#CABF3F #3FCA7A #3F4ACA #CA3F90
split-complementary
#CABF3F #3F90CA #7A3FCA
monochromatic
#70691F #A0972C #CABF3F #D7CF6F #E4DF9F

Accessibility & contrast

On white

1.90
#CABF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CABF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF3F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF3F#FFFFFF#000000##000000
##CABF3F1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B82C
Deuteranopia (green-blind)
#D3BF47
Tritanopia (blue-blind)
#D9B2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf3f;
/* rgb */ color: rgb(202, 191, 63);
/* oklch */ color: oklch(79.1% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded27c',
    500: '#cabf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cabf3f;
$custom-light: #ded27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf3f",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 55.252,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79092,
    "c": 0.14487,
    "h": 104.4
  },
  "luminance": 0.50177
}

Semantic roles & 50–950 ramp

primary
#CABF3F
secondary
#343A79
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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