#CBAF55#CBAF55

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

Color values

HEX#CBAF55
RGBrgb(203, 175, 85)
HSLhsl(46, 53%, 56%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.8%, 58.1%, 20.4%)
CIE-LABlab(72.24, -0.71, 49.08)
CIE-LCHlch(72.24, 49.08, 90.83°)
OKLaboklab(76.05% -0.0045 0.1143)
OKLCHoklch(76.05% 0.114 92.2)
XYZxyz(41.6000, 44.0144, 14.8970)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF55 #5571CB
analogous
#CB7455 #CBAF55 #ACCB55
triadic
#CBAF55 #55CBAF #AF55CB
tetradic
#CBAF55 #55CB74 #5571CB #CB55AC
square
#CBAF55 #55CB74 #5571CB #CB55AC
split-complementary
#CBAF55 #55ACCB #7455CB
monochromatic
#7F6A27 #AE9135 #CBAF55 #D9C584 #E8DBB3

Accessibility & contrast

On white

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

On black

9.80
#CBAF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF55
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF55#FFFFFF#000000##000000
##CBAF551.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4C
Deuteranopia (green-blind)
#C6B559
Tritanopia (blue-blind)
#DAA39B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf55;
/* rgb */ color: rgb(203, 175, 85);
/* oklch */ color: oklch(76.0% 0.114 92.2);
Tailwind
colors: {
  custom: {
    50: '#dec688',
    500: '#cbaf55',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf55;
$custom-light: #dec688;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf55",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 45.763,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7605,
    "c": 0.11435,
    "h": 92.2
  },
  "luminance": 0.44012
}

Semantic roles & 50–950 ramp

primary
#CBAF55
secondary
#A6B1D6
accent
#6EDD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CBAF55

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

Preview Lab → · Contrast checker → · Palette generator →

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