#CAB751#CAB751

#CAB751 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.124 H 98.8°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CAB751
RGBrgb(202, 183, 81)
HSLhsl(51, 53%, 55%)
HSVhsv(51, 60%, 79%)
CMYKcmyk(0%, 9.4%, 59.9%, 20.8%)
CIE-LABlab(74.20, -5.63, 53.14)
CIE-LCHlch(74.20, 53.44, 96.05°)
OKLaboklab(77.57% -0.019 0.1225)
OKLCHoklch(77.57% 0.124 98.8)
XYZxyz(42.7775, 47.0194, 14.6054)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB751 #5164CA
analogous
#CA7B51 #CAB751 #A0CA51
triadic
#CAB751 #51CAB7 #B751CA
tetradic
#CAB751 #51CA7B #5164CA #CA51A0
square
#CAB751 #51CA7B #5164CA #CA51A0
split-complementary
#CAB751 #51A0CA #7B51CA
monochromatic
#7B6E25 #AA9734 #CAB751 #D8CA80 #E7DEAF

Accessibility & contrast

On white

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

On black

10.40
#CAB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB751
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB751#FFFFFF#000000##000000
##CAB7511.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B346
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#D9ABA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab751;
/* rgb */ color: rgb(202, 183, 81);
/* oklch */ color: oklch(77.6% 0.124 98.8);
Tailwind
colors: {
  custom: {
    50: '#ddcc86',
    500: '#cab751',
    950: '#000000',
  },
}
SCSS
$custom: #cab751;
$custom-light: #ddcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cab751",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 50.579,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77569,
    "c": 0.12397,
    "h": 98.8
  },
  "luminance": 0.47018
}

Semantic roles & 50–950 ramp

primary
#CAB751
secondary
#A2AAD5
accent
#62DD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB751

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

Preview Lab → · Contrast checker → · Palette generator →

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