#CAA123#CAA123

#CAA123 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.7% C 0.140 H 88.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CAA123
RGBrgb(202, 161, 35)
HSLhsl(45, 70%, 46%)
HSVhsv(45, 83%, 79%)
CMYKcmyk(0%, 20.3%, 82.7%, 20.8%)
CIE-LABlab(68.15, 3.72, 65.01)
CIE-LCHlch(68.15, 65.11, 86.72°)
OKLaboklab(72.68% 0.0027 0.1395)
OKLCHoklch(72.68% 0.14 88.9)
XYZxyz(37.4077, 38.1702, 6.9871)
Luminance0.3817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA123 #234CCA
analogous
#CA4D23 #CAA123 #A0CA23
triadic
#CAA123 #23CAA1 #A123CA
tetradic
#CAA123 #23CA4D #234CCA #CA23A0
square
#CAA123 #23CA4D #234CCA #CA23A0
split-complementary
#CAA123 #23A0CA #4D23CA
monochromatic
#624E11 #96771A #CAA123 #E0BB4A #E9CF7F

Accessibility & contrast

On white

2.43
#CAA123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CAA123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA123
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA123#FFFFFF#000000##000000
##CAA1231.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#BFAB2B
Tritanopia (blue-blind)
#DB928A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #caa123;
/* rgb */ color: rgb(202, 161, 35);
/* oklch */ color: oklch(72.7% 0.140 88.9);
Tailwind
colors: {
  custom: {
    50: '#dfbc6b',
    500: '#caa123',
    950: '#000000',
  },
}
SCSS
$custom: #caa123;
$custom-light: #dfbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#caa123",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 45.269,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.13952,
    "h": 88.9
  },
  "luminance": 0.38168
}

Semantic roles & 50–950 ramp

primary
#CAA123
secondary
#788ED1
accent
#66ED3B
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #CAA123

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

Preview Lab → · Contrast checker → · Palette generator →

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