#CBB258#CBB258

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

Color values

HEX#CBB258
RGBrgb(203, 178, 88)
HSLhsl(47, 53%, 57%)
HSVhsv(47, 57%, 80%)
CMYKcmyk(0%, 12.3%, 56.7%, 20.4%)
CIE-LABlab(73.05, -2.07, 48.58)
CIE-LCHlch(73.05, 48.63, 92.44°)
OKLaboklab(76.7% -0.008 0.1135)
OKLCHoklch(76.7% 0.114 94)
XYZxyz(42.3121, 45.2439, 15.7348)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB258 #5871CB
analogous
#CB7958 #CBB258 #AACB58
triadic
#CBB258 #58CBB2 #B258CB
tetradic
#CBB258 #58CB79 #5871CB #CB58AA
square
#CBB258 #58CB79 #5871CB #CB58AA
split-complementary
#CBB258 #58AACB #7958CB
monochromatic
#816D28 #AF9537 #CBB258 #DAC887 #E8DDB5

Accessibility & contrast

On white

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

On black

10.05
#CBB258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB258
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB258#FFFFFF#000000##000000
##CBB2581.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb258;
/* rgb */ color: rgb(203, 178, 88);
/* oklch */ color: oklch(76.7% 0.114 94.0);
Tailwind
colors: {
  custom: {
    50: '#ddc88a',
    500: '#cbb258',
    950: '#000000',
  },
}
SCSS
$custom: #cbb258;
$custom-light: #ddc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb258",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 46.957,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76704,
    "c": 0.11381,
    "h": 94
  },
  "luminance": 0.45242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBB258

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

Preview Lab → · Contrast checker → · Palette generator →

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