#CBAF43#CBAF43

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

Color values

HEX#CBAF43
RGBrgb(203, 175, 67)
HSLhsl(48, 57%, 53%)
HSVhsv(48, 67%, 80%)
CMYKcmyk(0%, 13.8%, 67%, 20.4%)
CIE-LABlab(72.07, -1.90, 57.04)
CIE-LCHlch(72.07, 57.07, 91.91°)
OKLaboklab(75.86% -0.0101 0.1287)
OKLCHoklch(75.86% 0.129 94.5)
XYZxyz(40.9737, 43.7639, 11.5982)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF43 #435FCB
analogous
#CB6B43 #CBAF43 #A3CB43
triadic
#CBAF43 #43CBAF #AF43CB
tetradic
#CBAF43 #43CB6B #435FCB #CB43A3
square
#CBAF43 #43CB6B #435FCB #CB43A3
split-complementary
#CBAF43 #43A3CB #6B43CB
monochromatic
#746220 #A48B2D #CBAF43 #D8C373 #E6D8A3

Accessibility & contrast

On white

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

On black

9.75
#CBAF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF43
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF43#FFFFFF#000000##000000
##CBAF431.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbaf43;
/* rgb */ color: rgb(203, 175, 67);
/* oklch */ color: oklch(75.9% 0.129 94.5);
Tailwind
colors: {
  custom: {
    50: '#dec67c',
    500: '#cbaf43',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf43;
$custom-light: #dec67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf43",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 47.647,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75864,
    "c": 0.1291,
    "h": 94.5
  },
  "luminance": 0.43762
}

Semantic roles & 50–950 ramp

primary
#CBAF43
secondary
#98A4D2
accent
#67E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBAF43

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

Preview Lab → · Contrast checker → · Palette generator →

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