#CAB243#CAB243

#CAB243 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.131 H 96.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CAB243
RGBrgb(202, 178, 67)
HSLhsl(49, 56%, 53%)
HSVhsv(49, 67%, 79%)
CMYKcmyk(0%, 11.9%, 66.8%, 20.8%)
CIE-LABlab(72.76, -3.91, 57.73)
CIE-LCHlch(72.76, 57.87, 93.88°)
OKLaboklab(76.39% -0.0158 0.1302)
OKLCHoklch(76.39% 0.131 96.9)
XYZxyz(41.2926, 44.8046, 11.7823)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB243 #435BCA
analogous
#CA6E43 #CAB243 #9FCA43
triadic
#CAB243 #43CAB2 #B243CA
tetradic
#CAB243 #43CA6E #435BCA #CA439F
square
#CAB243 #43CA6E #435BCA #CA439F
split-complementary
#CAB243 #439FCA #6E43CA
monochromatic
#726420 #A28D2E #CAB243 #D7C673 #E5D9A2

Accessibility & contrast

On white

2.11
#CAB243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CAB243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB243
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB243#FFFFFF#000000##000000
##CAB2431.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE35
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#D9A59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab243;
/* rgb */ color: rgb(202, 178, 67);
/* oklch */ color: oklch(76.4% 0.131 96.9);
Tailwind
colors: {
  custom: {
    50: '#dec87d',
    500: '#cab243',
    950: '#000000',
  },
}
SCSS
$custom: #cab243;
$custom-light: #dec87d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab243",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 49.333,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7639,
    "c": 0.13116,
    "h": 96.9
  },
  "luminance": 0.44803
}

Semantic roles & 50–950 ramp

primary
#CAB243
secondary
#97A2D2
accent
#63DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB243

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

Preview Lab → · Contrast checker → · Palette generator →

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