#CABE2F#CABE2F

#CABE2F is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.8% C 0.153 H 104.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CABE2F
RGBrgb(202, 190, 47)
HSLhsl(55, 62%, 49%)
HSVhsv(55, 77%, 79%)
CMYKcmyk(0%, 5.9%, 76.7%, 20.8%)
CIE-LABlab(75.82, -11.08, 68.13)
CIE-LCHlch(75.82, 69.02, 99.24°)
OKLaboklab(78.77% -0.0381 0.1486)
OKLCHoklch(78.77% 0.153 104.4)
XYZxyz(43.2856, 49.5905, 9.9806)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE2F #2F3BCA
analogous
#CA712F #CABE2F #89CA2F
triadic
#CABE2F #2FCABE #BE2FCA
tetradic
#CABE2F #2FCA71 #2F3BCA #CA2F89
square
#CABE2F #2FCA71 #2F3BCA #CA2F89
split-complementary
#CABE2F #2F89CA #712FCA
monochromatic
#676118 #988F23 #CABE2F #D9D05D #E5DE8F

Accessibility & contrast

On white

1.92
#CABE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CABE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE2F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE2F#FFFFFF#000000##000000
##CABE2F1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB709
Deuteranopia (green-blind)
#D3BE3A
Tritanopia (blue-blind)
#D9B1A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe2f;
/* rgb */ color: rgb(202, 190, 47);
/* oklch */ color: oklch(78.8% 0.153 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded173',
    500: '#cabe2f',
    950: '#000000',
  },
}
SCSS
$custom: #cabe2f;
$custom-light: #ded173;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe2f",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 55.355,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78774,
    "c": 0.15345,
    "h": 104.4
  },
  "luminance": 0.49589
}

Semantic roles & 50–950 ramp

primary
#CABE2F
secondary
#868BCF
accent
#4FE542
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #CABE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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