#CBAD38#CBAD38

#CBAD38 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.4% C 0.135 H 94.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CBAD38
RGBrgb(203, 173, 56)
HSLhsl(48, 59%, 51%)
HSVhsv(48, 72%, 80%)
CMYKcmyk(0%, 14.8%, 72.4%, 20.4%)
CIE-LABlab(71.47, -1.42, 60.89)
CIE-LCHlch(71.47, 60.91, 91.34°)
OKLaboklab(75.36% -0.01 0.1349)
OKLCHoklch(75.36% 0.135 94.2)
XYZxyz(40.2881, 42.8714, 9.8936)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAD38 #3856CB
analogous
#CB6338 #CBAD38 #9FCB38
triadic
#CBAD38 #38CBAD #AD38CB
tetradic
#CBAD38 #38CB63 #3856CB #CB389F
square
#CBAD38 #38CB63 #3856CB #CB389F
split-complementary
#CBAD38 #389FCB #6338CB
monochromatic
#6C5C1C #9D8529 #CBAD38 #D8C169 #E4D599

Accessibility & contrast

On white

2.19
#CBAD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CBAD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAD38
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAD38#FFFFFF#000000##000000
##CBAD381.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA26
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbad38;
/* rgb */ color: rgb(203, 173, 56);
/* oklch */ color: oklch(75.4% 0.135 94.2);
Tailwind
colors: {
  custom: {
    50: '#dfc576',
    500: '#cbad38',
    950: '#000000',
  },
}
SCSS
$custom: #cbad38;
$custom-light: #dfc576;
$custom-dark: #000000;
JSON
{
  "hex": "#cbad38",
  "rgb": {
    "r": 203,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 47.755,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75362,
    "c": 0.13529,
    "h": 94.2
  },
  "luminance": 0.42869
}

Semantic roles & 50–950 ramp

primary
#CBAD38
secondary
#8F9CD0
accent
#66E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAD38

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

Preview Lab → · Contrast checker → · Palette generator →

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