#CBAF45#CBAF45

#CBAF45 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.128 H 94.3°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CBAF45
RGBrgb(203, 175, 69)
HSLhsl(47, 56%, 53%)
HSVhsv(47, 66%, 80%)
CMYKcmyk(0%, 13.8%, 66%, 20.4%)
CIE-LABlab(72.09, -1.79, 56.20)
CIE-LCHlch(72.09, 56.23, 91.82°)
OKLaboklab(75.88% -0.0095 0.1273)
OKLCHoklch(75.88% 0.128 94.3)
XYZxyz(41.0347, 43.7883, 11.9196)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF45 #4561CB
analogous
#CB6C45 #CBAF45 #A4CB45
triadic
#CBAF45 #45CBAF #AF45CB
tetradic
#CBAF45 #45CB6C #4561CB #CB45A4
square
#CBAF45 #45CB6C #4561CB #CB45A4
split-complementary
#CBAF45 #45A4CB #6C45CB
monochromatic
#756321 #A58C2E #CBAF45 #D8C475 #E6D8A5

Accessibility & contrast

On white

2.15
#CBAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#CBAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF45
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF45#FFFFFF#000000##000000
##CBAF451.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC38
Deuteranopia (green-blind)
#C8B44A
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf45;
/* rgb */ color: rgb(203, 175, 69);
/* oklch */ color: oklch(75.9% 0.128 94.3);
Tailwind
colors: {
  custom: {
    50: '#dec67e',
    500: '#cbaf45',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf45;
$custom-light: #dec67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf45",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 47.463,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75882,
    "c": 0.1276,
    "h": 94.3
  },
  "luminance": 0.43786
}

Semantic roles & 50–950 ramp

primary
#CBAF45
secondary
#99A5D3
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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