#CBAE57#CBAE57

#CBAE57 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.9% C 0.112 H 91.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CBAE57
RGBrgb(203, 174, 87)
HSLhsl(45, 53%, 57%)
HSVhsv(45, 57%, 80%)
CMYKcmyk(0%, 14.3%, 57.1%, 20.4%)
CIE-LABlab(72.00, -0.03, 47.84)
CIE-LCHlch(72.00, 47.84, 90.04°)
OKLaboklab(75.87% -0.0022 0.1118)
OKLCHoklch(75.87% 0.112 91.1)
XYZxyz(41.4867, 43.6588, 15.2567)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE57 #5774CB
analogous
#CB7457 #CBAE57 #AECB57
triadic
#CBAE57 #57CBAE #AE57CB
tetradic
#CBAE57 #57CB74 #5774CB #CB57AE
square
#CBAE57 #57CB74 #5774CB #CB57AE
split-complementary
#CBAE57 #57AECB #7457CB
monochromatic
#806A28 #AF9136 #CBAE57 #D9C586 #E8DBB4

Accessibility & contrast

On white

2.16
#CBAE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CBAE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE57
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE57#FFFFFF#000000##000000
##CBAE571.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC4F
Deuteranopia (green-blind)
#C6B45B
Tritanopia (blue-blind)
#DAA29A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae57;
/* rgb */ color: rgb(203, 174, 87);
/* oklch */ color: oklch(75.9% 0.112 91.1);
Tailwind
colors: {
  custom: {
    50: '#ddc589',
    500: '#cbae57',
    950: '#000000',
  },
}
SCSS
$custom: #cbae57;
$custom-light: #ddc589;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae57",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 87
  },
  "hsl": {
    "h": 45,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.75869,
    "c": 0.11184,
    "h": 91.1
  },
  "luminance": 0.43657
}

Semantic roles & 50–950 ramp

primary
#CBAE57
secondary
#A7B3D7
accent
#70DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15120C
muted
#83817D

Preview Lab

Preview with #CBAE57

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

Preview Lab → · Contrast checker → · Palette generator →

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