#CBAF3B#CBAF3B

#CBAF3B is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.135 H 95.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CBAF3B
RGBrgb(203, 175, 59)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 13.8%, 70.9%, 20.4%)
CIE-LABlab(72.01, -2.33, 60.26)
CIE-LCHlch(72.01, 60.30, 92.22°)
OKLaboklab(75.8% -0.0122 0.1341)
OKLCHoklch(75.8% 0.135 95.2)
XYZxyz(40.7501, 43.6744, 10.4204)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF3B #3B57CB
analogous
#CB673B #CBAF3B #9FCB3B
triadic
#CBAF3B #3BCBAF #AF3BCB
tetradic
#CBAF3B #3BCB67 #3B57CB #CB3B9F
square
#CBAF3B #3BCB67 #3B57CB #CB3B9F
split-complementary
#CBAF3B #3B9FCB #673BCB
monochromatic
#6E5F1D #9F882A #CBAF3B #D8C36B #E5D69C

Accessibility & contrast

On white

2.16
#CBAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CBAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF3B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF3B#FFFFFF#000000##000000
##CBAF3B1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2A
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#DBA198
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbaf3b;
/* rgb */ color: rgb(203, 175, 59);
/* oklch */ color: oklch(75.8% 0.135 95.2);
Tailwind
colors: {
  custom: {
    50: '#dfc678',
    500: '#cbaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf3b;
$custom-light: #dfc678;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf3b",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 48.333,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75797,
    "c": 0.1347,
    "h": 95.2
  },
  "luminance": 0.43672
}

Semantic roles & 50–950 ramp

primary
#CBAF3B
secondary
#919ED1
accent
#65E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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