#CBAF59#CBAF59

#CBAF59 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.111 H 91.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CBAF59
RGBrgb(203, 175, 89)
HSLhsl(45, 52%, 57%)
HSVhsv(45, 56%, 80%)
CMYKcmyk(0%, 13.8%, 56.2%, 20.4%)
CIE-LABlab(72.28, -0.40, 47.21)
CIE-LCHlch(72.28, 47.21, 90.49°)
OKLaboklab(76.1% -0.0031 0.1107)
OKLCHoklch(76.1% 0.111 91.6)
XYZxyz(41.7635, 44.0798, 15.7577)
Luminance0.4408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF59 #5975CB
analogous
#CB7659 #CBAF59 #AECB59
triadic
#CBAF59 #59CBAF #AF59CB
tetradic
#CBAF59 #59CB76 #5975CB #CB59AE
square
#CBAF59 #59CB76 #5975CB #CB59AE
split-complementary
#CBAF59 #59AECB #7659CB
monochromatic
#816B28 #B09237 #CBAF59 #DAC588 #E8DCB6

Accessibility & contrast

On white

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

On black

9.82
#CBAF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF59
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF59#FFFFFF#000000##000000
##CBAF591.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD51
Deuteranopia (green-blind)
#C6B55C
Tritanopia (blue-blind)
#DAA39B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf59;
/* rgb */ color: rgb(203, 175, 89);
/* oklch */ color: oklch(76.1% 0.111 91.6);
Tailwind
colors: {
  custom: {
    50: '#ddc68a',
    500: '#cbaf59',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf59;
$custom-light: #ddc68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf59",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 89
  },
  "hsl": {
    "h": 45.263,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76099,
    "c": 0.11069,
    "h": 91.6
  },
  "luminance": 0.44078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBAF59

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

Preview Lab → · Contrast checker → · Palette generator →

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