#CBAE3C#CBAE3C

#CBAE3C is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.133 H 94.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CBAE3C
RGBrgb(203, 174, 60)
HSLhsl(48, 58%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 14.3%, 70.4%, 20.4%)
CIE-LABlab(71.76, -1.76, 59.61)
CIE-LCHlch(71.76, 59.63, 91.69°)
OKLaboklab(75.6% -0.0105 0.1329)
OKLCHoklch(75.6% 0.133 94.5)
XYZxyz(40.5823, 43.2971, 10.4937)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE3C #3C59CB
analogous
#CB673C #CBAE3C #A1CB3C
triadic
#CBAE3C #3CCBAE #AE3CCB
tetradic
#CBAE3C #3CCB67 #3C59CB #CB3CA1
square
#CBAE3C #3CCB67 #3C59CB #CB3CA1
split-complementary
#CBAE3C #3CA1CB #673CCB
monochromatic
#6F5E1E #9F882A #CBAE3C #D8C26C #E5D69D

Accessibility & contrast

On white

2.17
#CBAE3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CBAE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE3C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE3C#FFFFFF#000000##000000
##CBAE3C1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2C
Deuteranopia (green-blind)
#C7B442
Tritanopia (blue-blind)
#DBA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae3c;
/* rgb */ color: rgb(203, 174, 60);
/* oklch */ color: oklch(75.6% 0.133 94.5);
Tailwind
colors: {
  custom: {
    50: '#dfc578',
    500: '#cbae3c',
    950: '#000000',
  },
}
SCSS
$custom: #cbae3c;
$custom-light: #dfc578;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae3c",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 47.832,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75599,
    "c": 0.13335,
    "h": 94.5
  },
  "luminance": 0.43295
}

Semantic roles & 50–950 ramp

primary
#CBAE3C
secondary
#929FD1
accent
#66E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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