#CBB25F#CBB25F

#CBB25F is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.107 H 93.0°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CBB25F
RGBrgb(203, 178, 95)
HSLhsl(46, 51%, 58%)
HSVhsv(46, 53%, 80%)
CMYKcmyk(0%, 12.3%, 53.2%, 20.4%)
CIE-LABlab(73.13, -1.50, 45.28)
CIE-LCHlch(73.13, 45.30, 91.90°)
OKLaboklab(76.79% -0.0056 0.1071)
OKLCHoklch(76.79% 0.107 93)
XYZxyz(42.6161, 45.3655, 17.3359)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB25F #5F78CB
analogous
#CB7C5F #CBB25F #AECB5F
triadic
#CBB25F #5FCBB2 #B25FCB
tetradic
#CBB25F #5FCB7C #5F78CB #CB5FAE
square
#CBB25F #5FCB7C #5F78CB #CB5FAE
split-complementary
#CBB25F #5FAECB #7C5FCB
monochromatic
#85702B #B3973A #CBB25F #DAC88D #E9DEBB

Accessibility & contrast

On white

2.08
#CBB25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CBB25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB25F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB25F#FFFFFF#000000##000000
##CBB25F1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF58
Deuteranopia (green-blind)
#C8B762
Tritanopia (blue-blind)
#D9A79F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cbb25f;
/* rgb */ color: rgb(203, 178, 95);
/* oklch */ color: oklch(76.8% 0.107 93.0);
Tailwind
colors: {
  custom: {
    50: '#ddc88e',
    500: '#cbb25f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb25f;
$custom-light: #ddc88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb25f",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 95
  },
  "hsl": {
    "h": 46.111,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76793,
    "c": 0.10719,
    "h": 93
  },
  "luminance": 0.45364
}

Semantic roles & 50–950 ramp

primary
#CBB25F
secondary
#ADB7D8
accent
#6EDA4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB25F

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

Preview Lab → · Contrast checker → · Palette generator →

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