#CBAF3D#CBAF3D

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

Color values

HEX#CBAF3D
RGBrgb(203, 175, 61)
HSLhsl(48, 58%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 13.8%, 70%, 20.4%)
CIE-LABlab(72.02, -2.23, 59.48)
CIE-LCHlch(72.02, 59.52, 92.15°)
OKLaboklab(75.81% -0.0117 0.1328)
OKLCHoklch(75.81% 0.133 95)
XYZxyz(40.8029, 43.6956, 10.6989)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF3D #3D59CB
analogous
#CB683D #CBAF3D #A0CB3D
triadic
#CBAF3D #3DCBAF #AF3DCB
tetradic
#CBAF3D #3DCB68 #3D59CB #CB3DA0
square
#CBAF3D #3DCB68 #3D59CB #CB3DA0
split-complementary
#CBAF3D #3DA0CB #683DCB
monochromatic
#70601E #A0892B #CBAF3D #D8C36D #E5D79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAF3D#FFFFFF#000000##000000
##CBAF3D1.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)
#C1AC2D
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#DBA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf3d;
/* rgb */ color: rgb(203, 175, 61);
/* oklch */ color: oklch(75.8% 0.133 95.0);
Tailwind
colors: {
  custom: {
    50: '#dfc679',
    500: '#cbaf3d',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf3d;
$custom-light: #dfc679;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf3d",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 48.169,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75813,
    "c": 0.13336,
    "h": 95
  },
  "luminance": 0.43693
}

Semantic roles & 50–950 ramp

primary
#CBAF3D
secondary
#939FD1
accent
#65E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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