#CBAF3C#CBAF3C

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

Color values

HEX#CBAF3C
RGBrgb(203, 175, 60)
HSLhsl(48, 58%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 13.8%, 70.4%, 20.4%)
CIE-LABlab(72.02, -2.28, 59.87)
CIE-LCHlch(72.02, 59.91, 92.18°)
OKLaboklab(75.81% -0.012 0.1335)
OKLCHoklch(75.81% 0.134 95.1)
XYZxyz(40.7762, 43.6849, 10.5583)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF3C #3C58CB
analogous
#CB683C #CBAF3C #A0CB3C
triadic
#CBAF3C #3CCBAF #AF3CCB
tetradic
#CBAF3C #3CCB68 #3C58CB #CB3CA0
square
#CBAF3C #3CCB68 #3C58CB #CB3CA0
split-complementary
#CBAF3C #3CA0CB #683CCB
monochromatic
#6F5F1E #9F882A #CBAF3C #D8C36C #E5D79D

Accessibility & contrast

On white

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

On black

9.74
#CBAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF3C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF3C#FFFFFF#000000##000000
##CBAF3C1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbaf3c;
/* rgb */ color: rgb(203, 175, 60);
/* oklch */ color: oklch(75.8% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#dfc678',
    500: '#cbaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf3c;
$custom-light: #dfc678;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf3c",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 48.252,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75805,
    "c": 0.13403,
    "h": 95.1
  },
  "luminance": 0.43683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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