#CBAB43#CBAB43

#CBAB43 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.126 H 91.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CBAB43
RGBrgb(203, 171, 67)
HSLhsl(46, 57%, 53%)
HSVhsv(46, 67%, 80%)
CMYKcmyk(0%, 15.8%, 67%, 20.4%)
CIE-LABlab(71.03, 0.21, 55.95)
CIE-LCHlch(71.03, 55.95, 89.78°)
OKLaboklab(75.04% -0.004 0.1264)
OKLCHoklch(75.04% 0.126 91.8)
XYZxyz(40.2067, 42.2298, 11.3425)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB43 #4363CB
analogous
#CB6743 #CBAB43 #A7CB43
triadic
#CBAB43 #43CBAB #AB43CB
tetradic
#CBAB43 #43CB67 #4363CB #CB43A7
square
#CBAB43 #43CB67 #4363CB #CB43A7
split-complementary
#CBAB43 #43A7CB #6743CB
monochromatic
#746020 #A4882D #CBAB43 #D8C073 #E6D6A3

Accessibility & contrast

On white

2.22
#CBAB43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#CBAB43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAB43
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAB43#FFFFFF#000000##000000
##CBAB431.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA836
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab43;
/* rgb */ color: rgb(203, 171, 67);
/* oklch */ color: oklch(75.0% 0.126 91.8);
Tailwind
colors: {
  custom: {
    50: '#dec37c',
    500: '#cbab43',
    950: '#000000',
  },
}
SCSS
$custom: #cbab43;
$custom-light: #dec37c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab43",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 67
  },
  "hsl": {
    "h": 45.882,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75042,
    "c": 0.12645,
    "h": 91.8
  },
  "luminance": 0.42228
}

Semantic roles & 50–950 ramp

primary
#CBAB43
secondary
#98A5D2
accent
#6CE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAB43

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

Preview Lab → · Contrast checker → · Palette generator →

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