#CAB265#CAB265

#CAB265 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.101 H 92.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CAB265
RGBrgb(202, 178, 101)
HSLhsl(46, 49%, 59%)
HSVhsv(46, 50%, 79%)
CMYKcmyk(0%, 11.9%, 50%, 20.8%)
CIE-LABlab(73.11, -1.39, 42.25)
CIE-LCHlch(73.11, 42.27, 91.88°)
OKLaboklab(76.78% -0.0045 0.1009)
OKLCHoklch(76.78% 0.101 92.6)
XYZxyz(42.6279, 45.3388, 18.8153)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB265 #657DCA
analogous
#CA8065 #CAB265 #AFCA65
triadic
#CAB265 #65CAB2 #B265CA
tetradic
#CAB265 #65CA80 #657DCA #CA65AF
square
#CAB265 #65CA80 #657DCA #CA65AF
split-complementary
#CAB265 #65AFCA #8065CA
monochromatic
#86712E #B4983E #CAB265 #DAC993 #E9E0C0

Accessibility & contrast

On white

2.09
#CAB265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CAB265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB265
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB265#FFFFFF#000000##000000
##CAB2651.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5F
Deuteranopia (green-blind)
#C7B768
Tritanopia (blue-blind)
#D8A7A0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab265;
/* rgb */ color: rgb(202, 178, 101);
/* oklch */ color: oklch(76.8% 0.101 92.6);
Tailwind
colors: {
  custom: {
    50: '#dcc892',
    500: '#cab265',
    950: '#000000',
  },
}
SCSS
$custom: #cab265;
$custom-light: #dcc892;
$custom-dark: #000000;
JSON
{
  "hex": "#cab265",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 101
  },
  "hsl": {
    "h": 45.743,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.76781,
    "c": 0.10101,
    "h": 92.6
  },
  "luminance": 0.45337
}

Semantic roles & 50–950 ramp

primary
#CAB265
secondary
#B2BBD9
accent
#70D84F
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB265

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

Preview Lab → · Contrast checker → · Palette generator →

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