#CBAF57#CBAF57

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

Color values

HEX#CBAF57
RGBrgb(203, 175, 87)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.8%, 57.1%, 20.4%)
CIE-LABlab(72.26, -0.56, 48.15)
CIE-LCHlch(72.26, 48.15, 90.67°)
OKLaboklab(76.07% -0.0038 0.1125)
OKLCHoklch(76.07% 0.113 91.9)
XYZxyz(41.6806, 44.0466, 15.3214)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF57 #5773CB
analogous
#CB7557 #CBAF57 #ADCB57
triadic
#CBAF57 #57CBAF #AF57CB
tetradic
#CBAF57 #57CB75 #5773CB #CB57AD
square
#CBAF57 #57CB75 #5773CB #CB57AD
split-complementary
#CBAF57 #57ADCB #7557CB
monochromatic
#806B28 #AF9236 #CBAF57 #D9C586 #E8DCB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAF57#FFFFFF#000000##000000
##CBAF571.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)
#BFAC4F
Deuteranopia (green-blind)
#C6B55B
Tritanopia (blue-blind)
#DAA39B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf57;
/* rgb */ color: rgb(203, 175, 87);
/* oklch */ color: oklch(76.1% 0.113 91.9);
Tailwind
colors: {
  custom: {
    50: '#ddc689',
    500: '#cbaf57',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf57;
$custom-light: #ddc689;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf57",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 45.517,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76074,
    "c": 0.11253,
    "h": 91.9
  },
  "luminance": 0.44045
}

Semantic roles & 50–950 ramp

primary
#CBAF57
secondary
#A7B3D7
accent
#6FDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBAF57

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

Preview Lab → · Contrast checker → · Palette generator →

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