#CBB257#CBB257

#CBB257 is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.115 H 94.2°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CBB257
RGBrgb(203, 178, 87)
HSLhsl(47, 53%, 57%)
HSVhsv(47, 57%, 80%)
CMYKcmyk(0%, 12.3%, 57.1%, 20.4%)
CIE-LABlab(73.04, -2.14, 49.05)
CIE-LCHlch(73.04, 49.10, 92.50°)
OKLaboklab(76.69% -0.0084 0.1144)
OKLCHoklch(76.69% 0.115 94.2)
XYZxyz(42.2710, 45.2274, 15.5182)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB257 #5770CB
analogous
#CB7857 #CBB257 #AACB57
triadic
#CBB257 #57CBB2 #B257CB
tetradic
#CBB257 #57CB78 #5770CB #CB57AA
square
#CBB257 #57CB78 #5770CB #CB57AA
split-complementary
#CBB257 #57AACB #7857CB
monochromatic
#806D28 #AF9536 #CBB257 #D9C786 #E8DDB4

Accessibility & contrast

On white

2.09
#CBB257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CBB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB257
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB257#FFFFFF#000000##000000
##CBB2571.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4E
Deuteranopia (green-blind)
#C8B75B
Tritanopia (blue-blind)
#DAA69E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb257;
/* rgb */ color: rgb(203, 178, 87);
/* oklch */ color: oklch(76.7% 0.115 94.2);
Tailwind
colors: {
  custom: {
    50: '#ddc889',
    500: '#cbb257',
    950: '#000000',
  },
}
SCSS
$custom: #cbb257;
$custom-light: #ddc889;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb257",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 47.069,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76692,
    "c": 0.11473,
    "h": 94.2
  },
  "luminance": 0.45225
}

Semantic roles & 50–950 ramp

primary
#CBB257
secondary
#A7B1D7
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB257

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

Preview Lab → · Contrast checker → · Palette generator →

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