#CBAF52#CBAF52

#CBAF52 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.117 H 92.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CBAF52
RGBrgb(203, 175, 82)
HSLhsl(46, 54%, 56%)
HSVhsv(46, 60%, 80%)
CMYKcmyk(0%, 13.8%, 59.6%, 20.4%)
CIE-LABlab(72.21, -0.93, 50.46)
CIE-LCHlch(72.21, 50.47, 91.06°)
OKLaboklab(76.02% -0.0055 0.1169)
OKLCHoklch(76.02% 0.117 92.7)
XYZxyz(41.4834, 43.9677, 14.2826)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF52 #526ECB
analogous
#CB7252 #CBAF52 #AACB52
triadic
#CBAF52 #52CBAF #AF52CB
tetradic
#CBAF52 #52CB72 #526ECB #CB52AA
square
#CBAF52 #52CB72 #526ECB #CB52AA
split-complementary
#CBAF52 #52AACB #7252CB
monochromatic
#7D6926 #AC9034 #CBAF52 #D9C581 #E7DBB0

Accessibility & contrast

On white

2.14
#CBAF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CBAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF52
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF52#FFFFFF#000000##000000
##CBAF521.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC49
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#DAA39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf52;
/* rgb */ color: rgb(203, 175, 82);
/* oklch */ color: oklch(76.0% 0.117 92.7);
Tailwind
colors: {
  custom: {
    50: '#dec686',
    500: '#cbaf52',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf52;
$custom-light: #dec686;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf52",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 46.116,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76016,
    "c": 0.117,
    "h": 92.7
  },
  "luminance": 0.43966
}

Semantic roles & 50–950 ramp

primary
#CBAF52
secondary
#A3AFD5
accent
#6DDD4B
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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