#CAC243#CAC243

#CAC243 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.145 H 105.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CAC243
RGBrgb(202, 194, 67)
HSLhsl(56, 56%, 53%)
HSVhsv(56, 67%, 79%)
CMYKcmyk(0%, 4%, 66.8%, 20.8%)
CIE-LABlab(77.01, -12.18, 62.12)
CIE-LCHlch(77.01, 63.30, 101.09°)
OKLaboklab(79.76% -0.0393 0.1395)
OKLCHoklch(79.76% 0.145 105.7)
XYZxyz(44.6637, 51.5470, 12.9060)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC243 #434BCA
analogous
#CA7E43 #CAC243 #8FCA43
triadic
#CAC243 #43CAC2 #C243CA
tetradic
#CAC243 #43CA7E #434BCA #CA438F
square
#CAC243 #43CA7E #434BCA #CA438F
split-complementary
#CAC243 #438FCA #7E43CA
monochromatic
#726D20 #A29B2E #CAC243 #D7D173 #E5E1A2

Accessibility & contrast

On white

1.86
#CAC243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CAC243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC243
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC243#FFFFFF#000000##000000
##CAC2431.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D5C14B
Tritanopia (blue-blind)
#D8B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac243;
/* rgb */ color: rgb(202, 194, 67);
/* oklch */ color: oklch(79.8% 0.145 105.7);
Tailwind
colors: {
  custom: {
    50: '#ddd47e',
    500: '#cac243',
    950: '#000000',
  },
}
SCSS
$custom: #cac243;
$custom-light: #ddd47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac243",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 56.444,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79762,
    "c": 0.14489,
    "h": 105.7
  },
  "luminance": 0.51545
}

Semantic roles & 50–950 ramp

primary
#CAC243
secondary
#363A7B
accent
#51DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC243

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

Preview Lab → · Contrast checker → · Palette generator →

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