#CAB262#CAB262

#CAB262 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.104 H 93.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CAB262
RGBrgb(202, 178, 98)
HSLhsl(46, 50%, 59%)
HSVhsv(46, 51%, 79%)
CMYKcmyk(0%, 11.9%, 51.5%, 20.8%)
CIE-LABlab(73.08, -1.66, 43.70)
CIE-LCHlch(73.08, 43.73, 92.17°)
OKLaboklab(76.74% -0.0056 0.1039)
OKLCHoklch(76.74% 0.104 93.1)
XYZxyz(42.4836, 45.2811, 18.0552)
Luminance0.4528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB262 #627ACA
analogous
#CA7E62 #CAB262 #AECA62
triadic
#CAB262 #62CAB2 #B262CA
tetradic
#CAB262 #62CA7E #627ACA #CA62AE
square
#CAB262 #62CA7E #627ACA #CA62AE
split-complementary
#CAB262 #62AECA #7E62CA
monochromatic
#85702D #B3973C #CAB262 #D9C890 #E9DFBE

Accessibility & contrast

On white

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

On black

10.06
#CAB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB262
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB262#FFFFFF#000000##000000
##CAB2621.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5B
Deuteranopia (green-blind)
#C7B665
Tritanopia (blue-blind)
#D8A79F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab262;
/* rgb */ color: rgb(202, 178, 98);
/* oklch */ color: oklch(76.7% 0.104 93.1);
Tailwind
colors: {
  custom: {
    50: '#dcc890',
    500: '#cab262',
    950: '#000000',
  },
}
SCSS
$custom: #cab262;
$custom-light: #dcc890;
$custom-dark: #000000;
JSON
{
  "hex": "#cab262",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 46.154,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.76739,
    "c": 0.10403,
    "h": 93.1
  },
  "luminance": 0.45279
}

Semantic roles & 50–950 ramp

primary
#CAB262
secondary
#AFB9D8
accent
#6FD94F
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB262

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

Preview Lab → · Contrast checker → · Palette generator →

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