#CFB93A#CFB93A

#CFB93A is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.143 H 99.1°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#CFB93A
RGBrgb(207, 185, 58)
HSLhsl(51, 61%, 52%)
HSVhsv(51, 72%, 81%)
CMYKcmyk(0%, 10.6%, 72%, 18.8%)
CIE-LABlab(75.00, -5.88, 63.71)
CIE-LCHlch(75.00, 63.98, 95.27°)
OKLaboklab(78.25% -0.0227 0.1411)
OKLCHoklch(78.25% 0.143 99.1)
XYZxyz(43.8469, 48.2709, 11.0098)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB93A #3A50CF
analogous
#CF6F3A #CFB93A #9BCF3A
triadic
#CFB93A #3ACFB9 #B93ACF
tetradic
#CFB93A #3ACF6F #3A50CF #CF3A9B
square
#CFB93A #3ACF6F #3A50CF #CF3A9B
split-complementary
#CFB93A #3A9BCF #6F3ACF
monochromatic
#73661C #A49228 #CFB93A #DBCA6B #E7DC9C

Accessibility & contrast

On white

1.97
#CFB93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#CFB93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB93A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB93A#FFFFFF#000000##000000
##CFB93A1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB425
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#DFABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb93a;
/* rgb */ color: rgb(207, 185, 58);
/* oklch */ color: oklch(78.2% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#e2cd78',
    500: '#cfb93a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb93a;
$custom-light: #e2cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb93a",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 58
  },
  "hsl": {
    "h": 51.141,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78246,
    "c": 0.14293,
    "h": 99.1
  },
  "luminance": 0.48269
}

Semantic roles & 50–950 ramp

primary
#CFB93A
secondary
#929BD3
accent
#5BE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB93A

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

Preview Lab → · Contrast checker → · Palette generator →

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