#CBAF3F#CBAF3F

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

Color values

HEX#CBAF3F
RGBrgb(203, 175, 63)
HSLhsl(48, 57%, 52%)
HSVhsv(48, 69%, 80%)
CMYKcmyk(0%, 13.8%, 69%, 20.4%)
CIE-LABlab(72.04, -2.13, 58.68)
CIE-LCHlch(72.04, 58.72, 92.07°)
OKLaboklab(75.83% -0.0112 0.1315)
OKLCHoklch(75.83% 0.132 94.9)
XYZxyz(40.8578, 43.7175, 10.9879)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF3F #3F5BCB
analogous
#CB693F #CBAF3F #A1CB3F
triadic
#CBAF3F #3FCBAF #AF3FCB
tetradic
#CBAF3F #3FCB69 #3F5BCB #CB3FA1
square
#CBAF3F #3FCB69 #3F5BCB #CB3FA1
split-complementary
#CBAF3F #3FA1CB #693FCB
monochromatic
#71611F #A18A2C #CBAF3F #D8C36F #E5D79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAF3F#FFFFFF#000000##000000
##CBAF3F1.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)
#C1AC30
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#DBA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf3f;
/* rgb */ color: rgb(203, 175, 63);
/* oklch */ color: oklch(75.8% 0.132 94.9);
Tailwind
colors: {
  custom: {
    50: '#dfc67a',
    500: '#cbaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf3f;
$custom-light: #dfc67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf3f",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 48,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75829,
    "c": 0.13197,
    "h": 94.9
  },
  "luminance": 0.43715
}

Semantic roles & 50–950 ramp

primary
#CBAF3F
secondary
#94A1D1
accent
#66E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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