#CAB746#CAB746

#CAB746 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.5% C 0.133 H 99.7°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CAB746
RGBrgb(202, 183, 70)
HSLhsl(51, 55%, 53%)
HSVhsv(51, 65%, 79%)
CMYKcmyk(0%, 9.4%, 65.3%, 20.8%)
CIE-LABlab(74.11, -6.35, 57.88)
CIE-LCHlch(74.11, 58.22, 96.26°)
OKLaboklab(77.46% -0.0224 0.131)
OKLCHoklch(77.46% 0.133 99.7)
XYZxyz(42.3979, 46.8676, 12.6063)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB746 #4659CA
analogous
#CA7546 #CAB746 #9BCA46
triadic
#CAB746 #46CAB7 #B746CA
tetradic
#CAB746 #46CA75 #4659CA #CA469B
square
#CAB746 #46CA75 #4659CA #CA469B
split-complementary
#CAB746 #469BCA #7546CA
monochromatic
#746821 #A4932F #CAB746 #D8CA76 #E5DCA5

Accessibility & contrast

On white

2.02
#CAB746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CAB746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB746
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB746#FFFFFF#000000##000000
##CAB7461.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B238
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#D9AA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab746;
/* rgb */ color: rgb(202, 183, 70);
/* oklch */ color: oklch(77.5% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddcc7f',
    500: '#cab746',
    950: '#000000',
  },
}
SCSS
$custom: #cab746;
$custom-light: #ddcc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab746",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 51.364,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77461,
    "c": 0.13289,
    "h": 99.7
  },
  "luminance": 0.46866
}

Semantic roles & 50–950 ramp

primary
#CAB746
secondary
#9AA2D2
accent
#5FDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB746

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

Preview Lab → · Contrast checker → · Palette generator →

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