#CBAE3A#CBAE3A

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

Color values

HEX#CBAE3A
RGBrgb(203, 174, 58)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 14.3%, 71.4%, 20.4%)
CIE-LABlab(71.74, -1.86, 60.39)
CIE-LCHlch(71.74, 60.41, 91.76°)
OKLaboklab(75.58% -0.011 0.1342)
OKLCHoklch(75.58% 0.135 94.7)
XYZxyz(40.5305, 43.2763, 10.2205)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE3A #3A57CB
analogous
#CB653A #CBAE3A #9FCB3A
triadic
#CBAE3A #3ACBAE #AE3ACB
tetradic
#CBAE3A #3ACB65 #3A57CB #CB3A9F
square
#CBAE3A #3ACB65 #3A57CB #CB3A9F
split-complementary
#CBAE3A #3A9FCB #653ACB
monochromatic
#6E5E1D #9E872A #CBAE3A #D8C26A #E5D69B

Accessibility & contrast

On white

2.18
#CBAE3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#CBAE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE3A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE3A#FFFFFF#000000##000000
##CBAE3A1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbae3a;
/* rgb */ color: rgb(203, 174, 58);
/* oklch */ color: oklch(75.6% 0.135 94.7);
Tailwind
colors: {
  custom: {
    50: '#dfc577',
    500: '#cbae3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbae3a;
$custom-light: #dfc577;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae3a",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 48,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75583,
    "c": 0.13467,
    "h": 94.7
  },
  "luminance": 0.43274
}

Semantic roles & 50–950 ramp

primary
#CBAE3A
secondary
#909DD0
accent
#65E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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