#CAB855#CAB855

#CAB855 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.121 H 99.1°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CAB855
RGBrgb(202, 184, 85)
HSLhsl(51, 52%, 56%)
HSVhsv(51, 58%, 79%)
CMYKcmyk(0%, 8.9%, 57.9%, 20.8%)
CIE-LABlab(74.51, -5.86, 51.64)
CIE-LCHlch(74.51, 51.97, 96.47°)
OKLaboklab(77.82% -0.0192 0.1198)
OKLCHoklch(77.82% 0.121 99.1)
XYZxyz(43.1389, 47.4952, 15.4877)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB855 #5567CA
analogous
#CA7E55 #CAB855 #A2CA55
triadic
#CAB855 #55CAB8 #B855CA
tetradic
#CAB855 #55CA7E #5567CA #CA55A2
square
#CAB855 #55CA7E #5567CA #CA55A2
split-complementary
#CAB855 #55A2CA #7E55CA
monochromatic
#7D7027 #AC9A36 #CAB855 #D9CB84 #E7DFB2

Accessibility & contrast

On white

2.00
#CAB855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CAB855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB855
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB855#FFFFFF#000000##000000
##CAB8551.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B34B
Deuteranopia (green-blind)
#CDBA5A
Tritanopia (blue-blind)
#D8ACA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab855;
/* rgb */ color: rgb(202, 184, 85);
/* oklch */ color: oklch(77.8% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#ddcd88',
    500: '#cab855',
    950: '#000000',
  },
}
SCSS
$custom: #cab855;
$custom-light: #ddcd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cab855",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 50.769,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77822,
    "c": 0.12133,
    "h": 99.1
  },
  "luminance": 0.47493
}

Semantic roles & 50–950 ramp

primary
#CAB855
secondary
#A5ADD5
accent
#62DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB855

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

Preview Lab → · Contrast checker → · Palette generator →

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