#CBAF56#CBAF56

#CBAF56 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.113 H 92.1°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CBAF56
RGBrgb(203, 175, 86)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.8%, 57.6%, 20.4%)
CIE-LABlab(72.25, -0.64, 48.61)
CIE-LCHlch(72.25, 48.62, 90.75°)
OKLaboklab(76.06% -0.0041 0.1134)
OKLCHoklch(76.06% 0.113 92.1)
XYZxyz(41.6401, 44.0304, 15.1077)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF56 #5672CB
analogous
#CB7556 #CBAF56 #ADCB56
triadic
#CBAF56 #56CBAF #AF56CB
tetradic
#CBAF56 #56CB75 #5672CB #CB56AD
square
#CBAF56 #56CB75 #5672CB #CB56AD
split-complementary
#CBAF56 #56ADCB #7556CB
monochromatic
#7F6A27 #AE9136 #CBAF56 #D9C585 #E8DBB4

Accessibility & contrast

On white

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

On black

9.81
#CBAF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF56
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF56#FFFFFF#000000##000000
##CBAF561.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbaf56;
/* rgb */ color: rgb(203, 175, 86);
/* oklch */ color: oklch(76.1% 0.113 92.1);
Tailwind
colors: {
  custom: {
    50: '#dec688',
    500: '#cbaf56',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf56;
$custom-light: #dec688;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf56",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 45.641,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76062,
    "c": 0.11344,
    "h": 92.1
  },
  "luminance": 0.44028
}

Semantic roles & 50–950 ramp

primary
#CBAF56
secondary
#A6B2D6
accent
#6EDC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBAF56

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

Preview Lab → · Contrast checker → · Palette generator →

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