#CBAF5A#CBAF5A

#CBAF5A is a light, moderate yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.110 H 91.4°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CBAF5A
RGBrgb(203, 175, 90)
HSLhsl(45, 52%, 57%)
HSVhsv(45, 56%, 80%)
CMYKcmyk(0%, 13.8%, 55.7%, 20.4%)
CIE-LABlab(72.29, -0.32, 46.73)
CIE-LCHlch(72.29, 46.73, 90.40°)
OKLaboklab(76.11% -0.0027 0.1097)
OKLCHoklch(76.11% 0.11 91.4)
XYZxyz(41.8057, 44.0967, 15.9803)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF5A #5A76CB
analogous
#CB775A #CBAF5A #AECB5A
triadic
#CBAF5A #5ACBAF #AF5ACB
tetradic
#CBAF5A #5ACB77 #5A76CB #CB5AAE
square
#CBAF5A #5ACB77 #5A76CB #CB5AAE
split-complementary
#CBAF5A #5AAECB #775ACB
monochromatic
#826C29 #B09238 #CBAF5A #DAC689 #E8DCB7

Accessibility & contrast

On white

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

On black

9.82
#CBAF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF5A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF5A#FFFFFF#000000##000000
##CBAF5A1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD52
Deuteranopia (green-blind)
#C6B55D
Tritanopia (blue-blind)
#DAA39C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf5a;
/* rgb */ color: rgb(203, 175, 90);
/* oklch */ color: oklch(76.1% 0.110 91.4);
Tailwind
colors: {
  custom: {
    50: '#ddc68b',
    500: '#cbaf5a',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf5a;
$custom-light: #ddc68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf5a",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 45.133,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76112,
    "c": 0.10976,
    "h": 91.4
  },
  "luminance": 0.44095
}

Semantic roles & 50–950 ramp

primary
#CBAF5A
secondary
#AAB5D7
accent
#70DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBAF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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