#CAB235#CAB235

#CAB235 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.3% C 0.141 H 97.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CAB235
RGBrgb(202, 178, 53)
HSLhsl(50, 58%, 50%)
HSVhsv(50, 74%, 79%)
CMYKcmyk(0%, 11.9%, 73.8%, 20.8%)
CIE-LABlab(72.67, -4.63, 63.15)
CIE-LCHlch(72.67, 63.31, 94.19°)
OKLaboklab(76.28% -0.0193 0.1392)
OKLCHoklch(76.28% 0.141 97.9)
XYZxyz(40.9222, 44.6565, 9.8315)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB235 #354DCA
analogous
#CA6835 #CAB235 #97CA35
triadic
#CAB235 #35CAB2 #B235CA
tetradic
#CAB235 #35CA68 #354DCA #CA3597
square
#CAB235 #35CA68 #354DCA #CA3597
split-complementary
#CAB235 #3597CA #6835CA
monochromatic
#695D1C #9A8728 #CAB235 #D7C465 #E3D796

Accessibility & contrast

On white

2.11
#CAB235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CAB235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB235
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB235#FFFFFF#000000##000000
##CAB2351.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1F
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#DAA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab235;
/* rgb */ color: rgb(202, 178, 53);
/* oklch */ color: oklch(76.3% 0.141 97.9);
Tailwind
colors: {
  custom: {
    50: '#dec875',
    500: '#cab235',
    950: '#000000',
  },
}
SCSS
$custom: #cab235;
$custom-light: #dec875;
$custom-dark: #000000;
JSON
{
  "hex": "#cab235",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 50.336,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.76281,
    "c": 0.14051,
    "h": 97.9
  },
  "luminance": 0.44654
}

Semantic roles & 50–950 ramp

primary
#CAB235
secondary
#8C97CF
accent
#5FE246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB235

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

Preview Lab → · Contrast checker → · Palette generator →

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